public class MultiMarkLineNumberReader extends LineNumberReader
Constructor and Description |
---|
MultiMarkLineNumberReader(Reader in)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
mark(int i) |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
void |
removeMark()
Remove the topmost mark.
|
void |
reset() |
getLineNumber, readLine, setLineNumber, skip
close, markSupported, ready
public MultiMarkLineNumberReader(Reader in)
in
- The Reader to wrap.public void mark(int i)
mark
in class LineNumberReader
public void removeMark()
public int read() throws IOException
read
in class LineNumberReader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class LineNumberReader
IOException
public void reset() throws IOException
reset
in class LineNumberReader
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.