站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Package java.nio.channels (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

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.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
FileChannel
          A channel for reading, writing, mapping, and manipulating a file.
 

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

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.
 

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


Java™ Platform
Standard Ed. 6

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

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.