Uses of Package
java.nio.channels
Package
Description
A Java API for Stream Control Transport Protocol.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides the classes for implementing networking applications.
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
Service-provider classes for the
java.nio.channels
package.Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Service-provider classes for the
java.nio.file
package.Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Defines JDK-specific
channel
APIs.JDK-specific map modes for use with
FileChannel::map.
-
ClassDescriptionA nexus for I/O operations.A channel that can be asynchronously closed and interrupted.A channel that can be multiplexed via a
Selector
. -
-
-
ClassDescriptionA selectable channel for datagram-oriented sockets.A selectable channel for stream-oriented listening sockets.A selectable channel for stream-oriented connecting sockets.
-
ClassDescriptionAn asynchronous channel that can read and write bytes.A channel that supports asynchronous I/O operations.A grouping of asynchronous channels for the purpose of resource sharing.Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.An asynchronous channel for reading, writing, and manipulating a file.An asynchronous channel for stream-oriented listening sockets.An asynchronous channel for stream-oriented connecting sockets.A channel that can read and write bytes.A nexus for I/O operations.Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation.A handler for consuming the result of an asynchronous I/O operation.A selectable channel for datagram-oriented sockets.A channel for reading, writing, mapping, and manipulating a file.A file-mapping mode.A token representing a lock on a region of a file.A channel that can write bytes from a sequence of buffers.A channel that can be asynchronously closed and interrupted.A token representing the membership of an Internet Protocol (IP) multicast group.A network channel that supports Internet Protocol (IP) multicasting.A channel to a network socket.A pair of channels that implements a unidirectional pipe.A channel representing the writable end of a
Pipe
.A channel representing the readable end of aPipe
.A channel that can read bytes.A channel that can read bytes into a sequence of buffers.A byte channel that maintains a current position and allows the position to be changed.A channel that can be multiplexed via aSelector
.A token representing the registration of aSelectableChannel
with aSelector
.A multiplexor ofSelectableChannel
objects.A selectable channel for stream-oriented listening sockets.A selectable channel for stream-oriented connecting sockets.A channel that can write bytes. -
ClassDescriptionA grouping of asynchronous channels for the purpose of resource sharing.Checked exception received by a thread when another thread closes the channel or the part of the channel upon which it is blocked in an I/O operation.An asynchronous channel for stream-oriented listening sockets.An asynchronous channel for stream-oriented connecting sockets.A nexus for I/O operations.Checked exception thrown when an attempt is made to invoke or complete an I/O operation upon channel that is closed, or at least closed to that operation.A selectable channel for datagram-oriented sockets.A channel that can be asynchronously closed and interrupted.A pair of channels that implements a unidirectional pipe.A channel that can be multiplexed via a
Selector
.A token representing the registration of aSelectableChannel
with aSelector
.A multiplexor ofSelectableChannel
objects.A selectable channel for stream-oriented listening sockets.A selectable channel for stream-oriented connecting sockets. -
ClassDescriptionA byte channel that maintains a current position and allows the position to be changed.
-
ClassDescriptionAn asynchronous channel for reading, writing, and manipulating a file.A channel for reading, writing, mapping, and manipulating a file.A byte channel that maintains a current position and allows the position to be changed.
-
-
-