gnu.inet.util
Class LineInputStream
FilterInputStream
gnu.inet.util.LineInputStream
public class LineInputStream
extends FilterInputStream
An input stream that can read lines of input.
LineInputStream
public LineInputStream(InputStream in)
Constructor using the US-ASCII character encoding.
in
- the underlying input stream
LineInputStream
public LineInputStream(InputStream in,
String encoding)
Constructor.
in
- the underlying input streamencoding
- the character encoding to use
readLine
public String readLine()
throws IOException
Read a line of input.
© Copyright 2003 The Free Software Foundation,
all rights reserved