public class LineReadingIterator extends LookaheadIterator<String> implements CloseableIterator<String>
| Modifier and Type | Field and Description |
|---|---|
protected BufferedReader |
reader |
next| Constructor and Description |
|---|
LineReadingIterator(BufferedReader r) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected boolean |
lookahead()
Loads next line into lookahead spot
|
hasNext, next, removeprotected BufferedReader reader
public LineReadingIterator(BufferedReader r)
protected boolean lookahead()
lookahead in class LookaheadIterator<String>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.