| Modifier and Type | Field and Description |
|---|---|
protected int |
bufferSize |
protected Lock |
lock |
protected Reader |
reader |
| Constructor and Description |
|---|
LineReader(Reader reader) |
LineReader(Reader reader,
int bufferSize,
Lock lock) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
Iterator<String> |
iterator() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected Reader reader
protected int bufferSize
protected final Lock lock
public LineReader(Reader reader)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018. All rights reserved.