public class BufferedReaderLineCounter extends BufferedReader
Constructor and Description |
---|
BufferedReaderLineCounter(Reader reader) |
Modifier and Type | Method and Description |
---|---|
int |
getLineCount()
Return how many times the
readLine() method was called. |
String |
readLine() |
close, lines, mark, markSupported, read, read, ready, reset, skip
public BufferedReaderLineCounter(Reader reader)
public String readLine() throws IOException
readLine
in class BufferedReader
IOException
public int getLineCount()
readLine()
method was called.This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.