# Uses of Package
java.nio.channels

Packages that use java.nio.channels
Package | Description
--- | ---
java.io | Provides for system input and output through data streams, serialization and the file system.
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.net | Provides the classes for implementing networking applications.
java.nio.channels | 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.
java.nio.channels.spi | Service-provider classes for the ``java.nio.channels`` package.
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).

Classes in java.nio.channels used by java.io
Class and Description
FileChannel A channel for reading, writing, mapping, and manipulating a file.

Classes in java.nio.channels used by java.lang
Class and Description
Channel A nexus for I/O operations.

Classes in java.nio.channels used by java.net
Class and Description
DatagramChannel A selectable channel for datagram-oriented sockets.
ServerSocketChannel A selectable channel for stream-oriented listening sockets.
SocketChannel A selectable channel for stream-oriented connecting sockets.

Classes in java.nio.channels used by java.nio.channels
Class and Description
AsynchronousCloseException 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.
ByteChannel A channel that can read and write bytes.
Channel A nexus for I/O operations.
ClosedChannelException 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.
DatagramChannel A selectable channel for datagram-oriented sockets.
FileChannel A channel for reading, writing, mapping, and manipulating a file.
FileChannel.MapMode A typesafe enumeration for file-mapping modes.
FileLock A token representing a lock on a region of a file.
GatheringByteChannel A channel that can write bytes from a sequence of buffers.
InterruptibleChannel A channel that can be asynchronously closed and interrupted.
Pipe A pair of channels that implements a unidirectional pipe.
Pipe.SinkChannel A channel representing the writable end of a `Pipe`.
Pipe.SourceChannel A channel representing the readable end of a `Pipe`.
ReadableByteChannel A channel that can read bytes.
ScatteringByteChannel A channel that can read bytes into a sequence of buffers.
SelectableChannel A channel that can be multiplexed via a `Selector`.
SelectionKey A token representing the registration of a `SelectableChannel` with a `Selector`.
Selector A multiplexor of `SelectableChannel` objects.
ServerSocketChannel A selectable channel for stream-oriented listening sockets.
SocketChannel A selectable channel for stream-oriented connecting sockets.
WritableByteChannel A channel that can write bytes.

Classes in java.nio.channels used by java.nio.channels.spi
Class and Description
AsynchronousCloseException 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.
Channel A nexus for I/O operations.
ClosedChannelException 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.
DatagramChannel A selectable channel for datagram-oriented sockets.
InterruptibleChannel A channel that can be asynchronously closed and interrupted.
Pipe A pair of channels that implements a unidirectional pipe.
SelectableChannel A channel that can be multiplexed via a `Selector`.
SelectionKey A token representing the registration of a `SelectableChannel` with a `Selector`.
Selector A multiplexor of `SelectableChannel` objects.
ServerSocketChannel A selectable channel for stream-oriented listening sockets.
SocketChannel A selectable channel for stream-oriented connecting sockets.

Classes in java.nio.channels used by java.util
Class and Description
ReadableByteChannel A channel that can read bytes.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.