| java.lang.Object org.pnuts.nio.AbstractLineInputStream org.pnuts.nio.ByteBufferLineInputStream
Method Summary | |
protected int | fill(byte[] b, int offset, int size) | protected void | process(byte[] b, int offset, int length) |
bbuf | protected ByteBuffer bbuf(Code) | | |
defaultBufferSize | final static int defaultBufferSize(Code) | | |
needToClose | protected boolean needToClose(Code) | | |
ByteBufferLineInputStream | public ByteBufferLineInputStream(ByteBuffer bbuf, LineHandler handler, boolean needToClose)(Code) | | |
ByteBufferLineInputStream | public ByteBufferLineInputStream(ByteBuffer bbuf, int sz, LineHandler handler, boolean needToClose)(Code) | | Constructor
Parameters: cbuf - A ByteBuffer Parameters: sz - Buffer size exception: IllegalArgumentException - If sz is <= 0 |
ByteBufferLineInputStream | protected ByteBufferLineInputStream()(Code) | | Constructor
|
process | protected void process(byte[] b, int offset, int length)(Code) | | |
|
|