public class LineReader
extends java.io.FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
_charsRead |
| Constructor and Description |
|---|
LineReader(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharsRead() |
java.io.InputStream |
getInputStream() |
java.lang.String |
readLine() |
protected java.lang.String |
readLine(java.io.InputStream in)
Read a line of text from the given Stream and return it
as a String.
|
public java.io.InputStream getInputStream()
public int getCharsRead()
public java.lang.String readLine()
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readLine(java.io.InputStream in)
throws java.io.IOException
in - a connected stream which contains the entire
message being sen.java.io.IOException - if a connection fails or abnormal connection
termination.Copyright © 2013. All Rights Reserved.