|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.faunos.util.io.FilterOutputChannel
public class FilterOutputChannel
A filter (or facade) on a GatheringByteChannel.
Field Summary | |
---|---|
protected GatheringByteChannel |
inner
The instance delegated to. |
Constructor Summary | |
---|---|
protected |
FilterOutputChannel()
Default constructor exposed to subclasses. |
|
FilterOutputChannel(GatheringByteChannel inner)
Creates a new instance with the underlying inner instance. |
Method Summary | |
---|---|
void |
close()
|
boolean |
isOpen()
|
int |
write(ByteBuffer src)
|
long |
write(ByteBuffer[] srcs)
Invokes write(srcs, 0, srcs.length) . |
long |
write(ByteBuffer[] srcs,
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 GatheringByteChannel inner
Constructor Detail |
---|
protected FilterOutputChannel()
inner
public FilterOutputChannel(GatheringByteChannel inner)
Method Detail |
---|
public long write(ByteBuffer[] srcs) throws IOException
write(srcs, 0, srcs.length)
.
write
in interface GatheringByteChannel
IOException
public long write(ByteBuffer[] srcs, int offset, int length) throws IOException
write
in interface GatheringByteChannel
IOException
public int write(ByteBuffer src) throws IOException
write
in interface WritableByteChannel
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 |