|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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()
innerpublic FilterOutputChannel(GatheringByteChannel inner)
| Method Detail |
|---|
public long write(ByteBuffer[] srcs)
throws IOException
write(srcs, 0, srcs.length).
write in interface GatheringByteChannelIOException
public long write(ByteBuffer[] srcs,
int offset,
int length)
throws IOException
write in interface GatheringByteChannelIOException
public int write(ByteBuffer src)
throws IOException
write in interface WritableByteChannelIOException
public void close()
throws IOException
close in interface Closeableclose in interface ChannelIOExceptionpublic boolean isOpen()
isOpen in interface Channel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||