- java.lang.Object
-
- org.hsqldb.lib.LineReader
-
public class LineReader extends java.lang.Object
A converter for InputStream to return String objects using the given charset for conversion. The readLine() method returns the next string excluding carriage-return and line-feed characters. No other character is excluded. A carriage-return followed by a line-feed is treated as a single end-of-line marker. Otherwise, each carriage-return or line-feed is treated as an end-of_line marker.- Since:
- 2.0.1
- Author:
- Fred Toussi (fredt@users dot sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description LineReader(java.io.InputStream stream, java.nio.charset.Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
readLine()
-