public class LineInputStream
extends java.io.FilterInputStream
DataInputStream.readLine(). Expected use is to read
lines as String objects from a RFC822 stream.
It is implemented as a FilterInputStream, so one can just wrap
this class around any input stream and read bytes from this filter.| Modifier and Type | Field and Description |
|---|---|
private char[] |
lineBuffer |
private static int |
MAX_INCR |
| Constructor and Description |
|---|
LineInputStream(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
readLine()
Read a line containing only ASCII characters from the input
stream.
|
public java.lang.String readLine()
throws java.io.IOException
This class is similar to the deprecated
DataInputStream.readLine()
java.io.IOException