Java Globus API: Class LineReader
org.globus.util.http
Class LineReader
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--org.globus.util.http.LineReader
- public class LineReader
- extends FilterInputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_charsRead
protected int _charsRead
LineReader
public LineReader(InputStream is)
getInputStream
public InputStream getInputStream()
getCharsRead
public int getCharsRead()
readLine
public String readLine()
throws IOException
readLine
protected String readLine(InputStream in)
throws IOException
- Read a line of text from the given Stream and return it
as a String. Assumes lines end in CRLF.
- Parameters:
in - a connected stream which contains the entire
message being sen.- Returns:
- the next line read from the stream.
- Throws:
IOException - if a connection fails or abnormal connection
termination.