JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Package
java.nio.channels

Packages that use java.nio.channels
java.io Provides for system input and output through data streams, serialization and the file system. 
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. 
 

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

Classes in java.nio.channels used by java.net
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
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
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.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.