|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.apache.james.mime4j.io.LineReaderInputStream
public abstract class LineReaderInputStream
Input stream capable of reading lines of text.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
protected |
LineReaderInputStream(java.io.InputStream in)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LineReaderInputStream(java.io.InputStream in)
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |