public class CountingReader extends Reader
Constructor and Description |
---|
CountingReader(Reader reader)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getCharsRead() |
int |
getCharsReadSinceLastCall() |
int |
read(char[] cbuf,
int off,
int len) |
public CountingReader(Reader reader)
reader
- the Reader we're decoratingpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public int getCharsRead()
public int getCharsReadSinceLastCall()
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.