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