public final class ByteBufArrayInputStream extends InputStream implements LineInputStream
ByteBufArrayInputStream| Constructor and Description |
|---|
ByteBufArrayInputStream(ByteBuffer[] bufs) |
ByteBufArrayInputStream(List<ByteBuffer> bufs) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearEOL()
Read everything up to and including the end of line.
|
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
String |
readLine()
Read everything up to the next end-of-line.
|
String |
toString() |
available, close, mark, markSupported, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadpublic ByteBufArrayInputStream(List<ByteBuffer> bufs) throws Exception
Exceptionpublic ByteBufArrayInputStream(ByteBuffer[] bufs) throws Exception
Exceptionpublic int read()
read in class InputStreampublic int read(byte[] buf,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic String readLine() throws IOException
LineInputStreamreadLine in interface LineInputStreamIOExceptionpublic void clearEOL()
throws IOException
LineInputStreamclearEOL in interface LineInputStreamIOExceptionCopyright © 2013 Schooner Information Technology. All Rights Reserved.