Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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.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 the java.nio.file 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
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 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.
SeekableByteChannel
          A byte channel that maintains a current position and allows the position to be changed.
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
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 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.nio.file
Class and 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 and Description
AsynchronousFileChannel
          An asynchronous channel for reading, writing, and manipulating a file.
FileChannel
          A channel for reading, writing, mapping, and manipulating a file.
 

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


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.