Package com.univocity.parsers.common
Class LineReader
java.lang.Object
java.io.Reader
com.univocity.parsers.common.LineReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
A simple Reader implementation to enable parsers to process lines on demand, via
AbstractParser.parseLine(String)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
mark, nullReader, read, read, read, reset, transferTo
-
Field Details
-
line
-
length
private int length -
next
private int next
-
-
Constructor Details
-
LineReader
public LineReader()
-
-
Method Details
-
setLine
-
read
public int read(char[] cbuf, int off, int len) -
skip
public long skip(long ns) -
ready
public boolean ready() -
markSupported
public boolean markSupported()- Overrides:
markSupported
in classReader
-
close
public void close()
-