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

Uses of Interface java.nio.channels.Channel (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Interface
java.nio.channels.Channel

Packages that use Channel
java.lang Provides classes that are fundamental to the design of the Java programming language. 
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. 
 

Uses of Channel in java.lang
 

Methods in java.lang that return Channel
static Channel System.inheritedChannel()
          Returns the channel inherited from the entity that created this Java virtual machine.
 

Uses of Channel in java.nio.channels
 

Subinterfaces of Channel in java.nio.channels
 interface ByteChannel
          A channel that can read and write bytes.
 interface GatheringByteChannel
          A channel that can write bytes from a sequence of buffers.
 interface InterruptibleChannel
          A channel that can be asynchronously closed and interrupted.
 interface ReadableByteChannel
          A channel that can read bytes.
 interface ScatteringByteChannel
          A channel that can read bytes into a sequence of buffers.
 interface WritableByteChannel
          A channel that can write bytes.
 

Classes in java.nio.channels that implement Channel
 class DatagramChannel
          A selectable channel for datagram-oriented sockets.
 class FileChannel
          A channel for reading, writing, mapping, and manipulating a file.
static class Pipe.SinkChannel
          A channel representing the writable end of a Pipe.
static class Pipe.SourceChannel
          A channel representing the readable end of a Pipe.
 class SelectableChannel
          A channel that can be multiplexed via a Selector.
 class ServerSocketChannel
          A selectable channel for stream-oriented listening sockets.
 class SocketChannel
          A selectable channel for stream-oriented connecting sockets.
 

Uses of Channel in java.nio.channels.spi
 

Classes in java.nio.channels.spi that implement Channel
 class AbstractInterruptibleChannel
          Base implementation class for interruptible channels.
 class AbstractSelectableChannel
          Base implementation class for selectable channels.
 

Methods in java.nio.channels.spi that return Channel
 Channel SelectorProvider.inheritedChannel()
          Returns the channel inherited from the entity that created this Java virtual machine.
 


JavaTM 2 Platform
Standard Ed. 5.0

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 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.