public class LineInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
protected java.io.InputStream |
in
The underlying input stream.
|
| Constructor and Description |
|---|
LineInputStream(java.io.InputStream in)
Constructor using the US-ASCII character encoding.
|
LineInputStream(java.io.InputStream in,
java.lang.String encoding)
Constructor.
|
public LineInputStream(java.io.InputStream in)
in - the underlying input streampublic LineInputStream(java.io.InputStream in,
java.lang.String encoding)
in - the underlying input streamencoding - the character encoding to usepublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic java.lang.String readLine()
throws java.io.IOException
java.io.IOException© Copyright 2003 The Free Software Foundation, all rights reserved