public class RecordFilterReader extends FilterReader
Reader
implementation for tracking the current line number, current
position and record text.in
Constructor and Description |
---|
RecordFilterReader(Reader in)
Constructs a new RecordFilterReader.
|
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber() |
long |
getPosition() |
void |
mark(int readAheadLimit) |
int |
read() |
String |
recordCompleted() |
void |
recordStarted() |
void |
recordStarted(String text) |
void |
reset() |
close, markSupported, read, ready, skip
public int getLineNumber()
public long getPosition()
public void recordStarted()
public void recordStarted(String text)
public String recordCompleted() throws IllegalStateException
IllegalStateException
public int read() throws IOException
read
in class FilterReader
IOException
public void mark(int readAheadLimit) throws IOException
mark
in class FilterReader
IOException
public void reset() throws IOException
reset
in class FilterReader
IOException