java.nio.channels

接口
异常
所有超级接口:
Channel, Closeable, ReadableByteChannel, WritableByteChannel
所有已知实现类:
DatagramChannel, FileChannel, SocketChannel

public interface ByteChannel
     
extends ReadableByteChannel, WritableByteChannel

可读取和写入字节的信道。此接口只是统一了 ReadableByteChannelWritableByteChannel;它没有指定任何新操作。

从以下版本开始:
1.4

方法摘要
 
从接口 java.nio.channels.ReadableByteChannel 继承的方法
read
 
从接口 java.nio.channels.WritableByteChannel 继承的方法
write
 
从接口 java.nio.channels.Channel 继承的方法
close, isOpen