public class LineInputStream extends FilterInputStream
in| Constructor and Description |
|---|
LineInputStream(InputStream in)
Constructor using the US-ASCII character encoding.
|
LineInputStream(InputStream in,
String encoding)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
readLine()
Read a line of input.
|
available, close, mark, markSupported, read, read, read, reset, skippublic LineInputStream(InputStream in)
in - the underlying input streampublic LineInputStream(InputStream in, String encoding)
in - the underlying input streamencoding - the character encoding to usepublic String readLine() throws IOException
IOExceptionCopyright © 2017. All rights reserved.