Uses of Package
java.nio.channels
-
Packages that use java.nio.channels Package Description com.sun.nio.sctp A Java API for Stream Control Transport Protocol.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 thejava.nio.channels
package.java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.nio.file.spi Service-provider classes for thejava.nio.file
package.java.util 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.jdk.nio Defines JDK-specificchannel
APIs. -
Classes in java.nio.channels used by com.sun.nio.sctp Class Description Channel A nexus for I/O operations.InterruptibleChannel A channel that can be asynchronously closed and interrupted.SelectableChannel A channel that can be multiplexed via aSelector
. -
Classes in java.nio.channels used by java.io Class Description FileChannel A channel for reading, writing, mapping, and manipulating a file. -
Classes in java.nio.channels used by java.lang Class Description Channel A nexus for I/O operations. -
Classes in java.nio.channels used by java.net Class 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 Description AsynchronousByteChannel An asynchronous channel that can read and write bytes.AsynchronousChannel A channel that supports asynchronous I/O operations.AsynchronousChannelGroup A grouping of asynchronous channels for the purpose of resource sharing.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.AsynchronousFileChannel An asynchronous channel for reading, writing, and manipulating a file.AsynchronousServerSocketChannel An asynchronous channel for stream-oriented listening sockets.AsynchronousSocketChannel An asynchronous channel for stream-oriented connecting sockets.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.CompletionHandler A handler for consuming the result of an asynchronous I/O 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.MembershipKey A token representing the membership of an Internet Protocol (IP) multicast group.MulticastChannel A network channel that supports Internet Protocol (IP) multicasting.NetworkChannel A channel to a network socket.Pipe A pair of channels that implements a unidirectional pipe.Pipe.SinkChannel A channel representing the writable end of aPipe
.Pipe.SourceChannel A channel representing the readable end of aPipe
.ReadableByteChannel A channel that can read bytes.ScatteringByteChannel A channel that can read bytes into a sequence of buffers.SeekableByteChannel A byte channel that maintains a current position and allows the position to be changed.SelectableChannel A channel that can be multiplexed via aSelector
.SelectionKey A token representing the registration of aSelectableChannel
with aSelector
.Selector A multiplexor ofSelectableChannel
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 Description AsynchronousChannelGroup A grouping of asynchronous channels for the purpose of resource sharing.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.AsynchronousServerSocketChannel An asynchronous channel for stream-oriented listening sockets.AsynchronousSocketChannel An asynchronous channel for stream-oriented connecting sockets.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 aSelector
.SelectionKey A token representing the registration of aSelectableChannel
with aSelector
.Selector A multiplexor ofSelectableChannel
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.nio.file Class Description SeekableByteChannel A byte channel that maintains a current position and allows the position to be changed. -
Classes in java.nio.channels used by java.nio.file.spi Class Description AsynchronousFileChannel An asynchronous channel for reading, writing, and manipulating a file.FileChannel A channel for reading, writing, mapping, and manipulating a file.SeekableByteChannel A byte channel that maintains a current position and allows the position to be changed. -
Classes in java.nio.channels used by java.util Class Description ReadableByteChannel A channel that can read bytes. -
Classes in java.nio.channels used by jdk.nio Class Description SelectableChannel A channel that can be multiplexed via aSelector
.