Package java.nio.channels
Interface ByteChannel
- All Superinterfaces:
AutoCloseable,Channel,Closeable,ReadableByteChannel,WritableByteChannel
- All Known Implementing Classes:
DatagramChannel,FileChannel,SocketChannel
public interface ByteChannel extends ReadableByteChannel, WritableByteChannel
A ByteChannel is both readable and writable.
The methods for the byte channel are precisely those defined by readable and writable byte channels.
- See Also:
ReadableByteChannel,WritableByteChannel
-
Method Summary
Methods inherited from interface java.nio.channels.ReadableByteChannel
readMethods inherited from interface java.nio.channels.WritableByteChannel
write