public class LineNumberReader extends BufferedReader
Constructor and Description |
---|
LineNumberReader(Reader in) |
LineNumberReader(Reader in,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber() |
void |
mark(int readlimit) |
int |
read() |
int |
read(char[] chars,
int off,
int len)
real implementations should be synchronized ...
|
String |
readLine() |
void |
reset() |
void |
setLineNumber(int lineNumber) |
long |
skip(long count) |
close, markSupported, ready
public LineNumberReader(Reader in)
public LineNumberReader(Reader in, int size)
public int getLineNumber()
public void mark(int readlimit) throws IOException
mark
in class BufferedReader
IOException
public int read() throws IOException
read
in class BufferedReader
IOException
public int read(char[] chars, int off, int len) throws IOException
Reader
read
in class BufferedReader
IOException
public String readLine() throws IOException
readLine
in class BufferedReader
IOException
public void reset() throws IOException
reset
in class BufferedReader
IOException
public void setLineNumber(int lineNumber)
public long skip(long count) throws IOException
skip
in class BufferedReader
IOException