| Modifier and Type | Field and Description |
|---|---|
protected char[] |
buff |
protected Func1<Object,Reader> |
closeReader |
protected String[] |
lines |
protected Lock |
lock |
protected Reader |
reader |
| Constructor and Description |
|---|
LineReaderIterator(Reader reader) |
LineReaderIterator(Reader reader,
int bufferSize,
Func1<Object,Reader> closeReader,
Lock lock) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
long |
getLineCounter() |
Lock |
getLock() |
boolean |
hasNext() |
String |
next() |
protected String[] |
readLines() |
void |
remove() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected Reader reader
protected char[] buff
protected String[] lines
protected final Lock lock
public LineReaderIterator(Reader reader)
public Lock getLock()
public long getLineCounter()
protected String[] readLines()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018. All rights reserved.