ZOFTINO.COM android and web dev tutorials

Java Concurrency Executors Framework Tutorial

Java executor framework allows separation of thread creation and management from the task or application logic which is executed on the thread.

Java Concurrency Lock and Condition Examples

Java concurrency framework provides external Locks which are similar to intrinsic lock obtained entering synchronized blocks but give flexibility and provide other features.

Java Multithreading and Concurrency

Running programs parallel improves application’s responsiveness. In this tutorial, you can learn how to write Java programs which can run parallel using threads.

Java Asynchronous IO NIO2

Like asynchronous programming used for any other operations, asynchronous IO makes it possible for a program to perform other operations while performing IO operations or execute multiple IO operation concurrently.

Java Memory Mapped Files

A segment of virtual memory containing a part of a file which exists on the disk or other file resource is called memory mapped file.

Java File System Watcher Example

Java NIO API provides framework that allows you to create components which can monitor file system for changes.

Java Random Access Files

Java IO and NIO APIs allow you to randomly access files to read content from and write content to files anywhere in the files.

Java File Input Output Using NIO2 API

To access files, file attributes and file system, Java provides classes and interfaces (new IO API called NIO2) which exist in the java.nio.file and java.nio.file.attribute packages.

Java NIO Tutorial

Java new input output library allows you to perform input and output operations efficiently. Unlike Java I/O classes which read and write data byte by byte using stream objects, Java NIO reads and writes data in blocks using channels which use operating system features.

Java Scanner Tutorial

Scanner class breaks its input into tokens using the default or the specified delimiter and the tokens can be accessed using various next methods to get different types of values.

Java Input Output Character Streams

Java I/O stream API allows you to read and write different types of data from and to different types of sources and destinations.

Java Input Output Byte Streams

Java input and output stream API provides classes to read data from any source and to write data to any destination. Data can be bytes, primitive types, localized characters and objects.