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
IOException
public String next(int lines) throws IOException
IOException
public byte[] nextAsBytes() throws IOException
IOException
public byte[] nextAsBytes(int lines) throws IOException
IOException