public class CountingBufferedReader extends BufferedReader
| Modifier and Type | Field and Description |
|---|---|
private int |
chars |
private ProgressMonitor |
monitor |
private int |
step |
| Constructor and Description |
|---|
CountingBufferedReader(InputStream in) |
CountingBufferedReader(InputStream in,
int size,
int step) |
CountingBufferedReader(InputStream in,
ProgressMonitor monitor,
int step) |
CountingBufferedReader(InputStream in,
ProgressMonitor monitor,
int step,
int alreadyRead) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfParsedChars() |
private void |
incCharCounter(long inc) |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
String |
readLine() |
long |
skip(long n) |
close, lines, mark, markSupported, ready, resetprivate int chars
private int step
private ProgressMonitor monitor
public CountingBufferedReader(InputStream in)
public CountingBufferedReader(InputStream in, ProgressMonitor monitor, int step)
public CountingBufferedReader(InputStream in, ProgressMonitor monitor, int step, int alreadyRead)
public CountingBufferedReader(InputStream in, int size, int step)
private void incCharCounter(long inc)
public int read()
throws IOException
read in class BufferedReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class BufferedReaderIOExceptionpublic String readLine() throws IOException
readLine in class BufferedReaderIOExceptionpublic long skip(long n)
throws IOException
skip in class BufferedReaderIOExceptionpublic int getNumberOfParsedChars()