public class LineBufferingIterator extends Object implements CloseableIterator<String>
| Modifier and Type | Field and Description |
|---|---|
protected Iterator<String> |
currIter |
protected CloseableIterator<String> |
inner |
protected int |
maxLines |
protected boolean |
reverse |
| Constructor and Description |
|---|
LineBufferingIterator(CloseableIterator<String> inner,
int maxLines,
boolean reverse) |
protected CloseableIterator<String> inner
protected int maxLines
protected boolean reverse
public LineBufferingIterator(CloseableIterator<String> inner, int maxLines, boolean reverse)
public void bufferInput()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.