Class StringLineReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
java.io.LineNumberReader
htsjdk.samtools.util.BufferedLineReader
htsjdk.samtools.util.StringLineReader
- All Implemented Interfaces:
LineReader, Closeable, AutoCloseable, Readable
Deprecated.
Implementation of LineReader that gets its input from a String. No charset conversion
is necessary because the String is in unicode. Handles CR, LF or CRLF line termination,
but if asked to return the line terminator, it always comes back as LF.
-
Field Summary
Fields inherited from interface LineReader
EOF_VALUE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BufferedLineReader
close, fromString, peek, readLineMethods inherited from class LineNumberReader
getLineNumber, mark, read, read, reset, setLineNumber, skipMethods inherited from class BufferedReader
lines, markSupported, readyMethods inherited from class Reader
nullReader, of, read, read, readAllAsString, readAllLines, transferToMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LineReader
getLineNumber
-
Constructor Details
-
StringLineReader
Deprecated.
-
BufferedLineReader.fromString(String).