Class FilterSeekableByteChannel<C extends SeekableByteChannel>

Type Parameters:
C - the SeekableByteChannel type.
All Implemented Interfaces:
Closeable, AutoCloseable, ByteChannel, Channel, ReadableByteChannel, SeekableByteChannel, WritableByteChannel

A SeekableByteChannel filter which delegates to the wrapped SeekableByteChannel.

A FilterSeekableByteChannel wraps some other channel, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality. The class FilterSeekableByteChannel itself simply overrides methods of SeekableByteChannel with versions that pass all requests to the wrapped channel. Subclasses of FilterSeekableByteChannel may of course override any methods declared or inherited by FilterSeekableByteChannel, and may also provide additional fields and methods.

You construct s simple instance with the Channel constructor and more advanced instances through the FilterSeekableByteChannel.Builder.

Since:
2.22.0
See Also: