Package htsjdk.samtools.util
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 htsjdk.samtools.util.LineReader
EOF_VALUE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class htsjdk.samtools.util.BufferedLineReader
close, fromString, peek, readLineMethods inherited from class java.io.LineNumberReader
getLineNumber, mark, read, read, reset, setLineNumber, skipMethods inherited from class java.io.BufferedReader
lines, markSupported, readyMethods inherited from class java.io.Reader
nullReader, read, read, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface htsjdk.samtools.util.LineReader
getLineNumber
-
Constructor Details
-
StringLineReader
Deprecated.
-
BufferedLineReader.fromString(String).