public class FilterReadableByteChannel extends Object implements ReadableByteChannel
| Modifier and Type | Field and Description |
|---|---|
protected ReadableByteChannel |
channel |
| Modifier | Constructor and Description |
|---|---|
protected |
FilterReadableByteChannel(ReadableByteChannel channel)
Creates an instance.
|
protected final ReadableByteChannel channel
protected FilterReadableByteChannel(ReadableByteChannel channel)
channel - the underlying channel, or null if this instance
is to be created without an underlying channel.public int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionCopyright © 2011-2013. All Rights Reserved.