public abstract class LineReaderInputStream
extends java.io.FilterInputStream
Modifier | Constructor and Description |
---|---|
protected |
LineReaderInputStream(java.io.InputStream in) |
Modifier and Type | Method and Description |
---|---|
abstract int |
readLine(ByteArrayBuffer dst)
Reads one line of text into the given
ByteArrayBuffer . |
abstract boolean |
unread(ByteArrayBuffer buf)
Tries to unread the last read line.
|
public abstract int readLine(ByteArrayBuffer dst) throws MaxLineLimitException, java.io.IOException
ByteArrayBuffer
.dst
- Destination-1
if the end of
the stream has been reached.MaxLineLimitException
- if the line exceeds a limit on
the line length imposed by a subclass.java.io.IOException
- in case of an I/O error.public abstract boolean unread(ByteArrayBuffer buf)