Skip to content

Tag Archives: Java-NIO package

Java.nio package was introduced in the version java 1.4 edition. It allows us to deal with different channels concurrently because it supports concurrency and multi-threading.… Read More
java.nio.file.FileSystems class acts as a factory for creating new file systems. This class provides methods for creating file systems. This file system act as factories… Read More
java.nio.file.FileSystem class provides an interface to a file system. The file system acts as a factory for creating different objects like Path, PathMatcher, UserPrincipalLookupService, and… Read More
ByteOrder is a class from java.nio package. In general Byte Order mean the enumeration of ByteOrder. In java there are primitive data types like int,… Read More
The Buffer class provides a buffer or a container for data chunks of specific primitive types. A finite sequence of elements is stored linearly in… Read More
Java.nio.file is a package in java that consists of the FileStore class. FileStore class is a class that provides methods for the purpose of performing… Read More
The java.nio.file.LinkPermission class handles permissions for link creation operations. The permission allowed by these class are as follows: Permission name What permission allows Risk of… Read More
ShortBuffer holds a sequence of integer values to be used in an I/O operation. The ShortBuffer class provides the following four categories of operations upon… Read More
CharBuffer holds a sequence of integer values to be used in an I/O operation. The CharBuffer class provides the following four categories of operations upon… Read More
IntBuffer holds a sequence of integer values to be used in an I/O operation. The IntBuffer class provides the following four categories of operations upon… Read More
DoubleBuffer holds a sequence of double values to be used in an I/O operation. The DoubleBuffer class provides the following four categories of operations upon… Read More
ByteBuffer holds a sequence of integer values to be used in an I/O operation. The ByteBuffer class provides the following four categories of operations upon… Read More
LongBuffer holds a sequence of long values to be used in an I/O operation. The LongBuffer class provides the following four categories of operations upon… Read More
java.nio.file.spi.FileTypeDetector Class extends java.lang.Object Class. FileTypeDetector Class contain method to know about the content type of given file. Class declaration: public abstract class FileTypeDetector extends… Read More
A Buffer object can be termed as a container for a fixed amount of data. The buffer acts as a storing box, or temporary staging… Read More