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