Team LiB
Previous Section Next Section

ByteChanneljava.nio.channels

Java 1.4closeable

This interface extends ReadableByteChannel and WritableByteChannel but adds no methods or constants of its own. It exists simply as a convience that to unify the two interfaces.

Figure 13-15. java.nio.channels.ByteChannel


public interface ByteChannel extends ReadableByteChannelWritableByteChannel {
}

Implementations

DatagramChannel, FileChannel, SocketChannel

    Team LiB
    Previous Section Next Section