Package de.stefanreiser.net.server
Class LineReader
java.lang.Object
de.stefanreiser.net.server.LineReader
public class LineReader
extends java.lang.Object
- Author:
- Stefan
-
Constructor Summary
Constructors Constructor Description LineReader(java.io.BufferedReader in)
-
Method Summary
Modifier and Type Method Description boolean
isLineAvailable()
java.lang.String
readline()
Reads a line (terminated by CRLF).
-
Constructor Details
-
LineReader
public LineReader(java.io.BufferedReader in)
-
-
Method Details
-
isLineAvailable
- Throws:
ServerException
-
readline
Reads a line (terminated by CRLF).- Returns:
- Returns null on end of stream or if cancel() was called.
- Throws:
ServerException
-