| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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()
innerpublic FilterInputChannel(ScatteringByteChannel inner)
| Method Detail | 
|---|
public long read(ByteBuffer[] dsts)
          throws IOException
read(dsts, 0, dsts.length).
read in interface ScatteringByteChannelIOException
public long read(ByteBuffer[] dsts,
                 int offset,
                 int length)
          throws IOException
read in interface ScatteringByteChannelIOException
public int read(ByteBuffer dst)
         throws IOException
read in interface ReadableByteChannelIOException
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 | |||||||||