|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.faunos.util.io.FilterInputChannel
public class FilterInputChannel
A filter (or facade) on a ScatteringByteChannel.
Field Summary | |
---|---|
protected ScatteringByteChannel |
inner
The instance delegated to. |
Constructor Summary | |
---|---|
protected |
FilterInputChannel()
Default constructor exposed to subclasses. |
|
FilterInputChannel(ScatteringByteChannel inner)
Creates a new instance with the underlying inner instance. |
Method Summary | |
---|---|
void |
close()
|
boolean |
isOpen()
|
int |
read(ByteBuffer dst)
|
long |
read(ByteBuffer[] dsts)
Invokes read(dsts, 0, dsts.length) . |
long |
read(ByteBuffer[] dsts,
int offset,
int length)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ScatteringByteChannel inner
Constructor Detail |
---|
protected FilterInputChannel()
inner
public FilterInputChannel(ScatteringByteChannel inner)
Method Detail |
---|
public long read(ByteBuffer[] dsts) throws IOException
read(dsts, 0, dsts.length)
.
read
in interface ScatteringByteChannel
IOException
public long read(ByteBuffer[] dsts, int offset, int length) throws IOException
read
in interface ScatteringByteChannel
IOException
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface Channel
IOException
public boolean isOpen()
isOpen
in interface Channel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |