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