public class ReadLine extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
avail |
(package private) byte[] |
bytes |
(package private) java.io.InputStream |
in |
(package private) int |
pos |
| Constructor and Description |
|---|
ReadLine(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
next() |
java.lang.String |
next(int lines) |
byte[] |
nextAsBytes() |
byte[] |
nextAsBytes(int lines) |
public ReadLine(java.io.InputStream in)
public java.lang.String next() throws java.io.IOException
java.io.IOExceptionpublic java.lang.String next(int lines) throws java.io.IOException
java.io.IOExceptionpublic byte[] nextAsBytes() throws java.io.IOException
java.io.IOExceptionpublic byte[] nextAsBytes(int lines) throws java.io.IOException
java.io.IOException