org.archive.wayback.resourceindex.ziplines
Class ZiplinesChunkIterator
java.lang.Object
org.archive.wayback.resourceindex.ziplines.ZiplinesChunkIterator
- All Implemented Interfaces:
- Closeable, Iterator<String>, CloseableIterator<String>
public class ZiplinesChunkIterator
- extends Object
- implements CloseableIterator<String>
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZiplinesChunkIterator
public ZiplinesChunkIterator(List<ZiplinedBlock> blocks)
- Parameters:
blocks - which should be fetched and unzipped, one after another
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<String>
next
public String next()
- Specified by:
next in interface Iterator<String>
remove
public void remove()
- Specified by:
remove in interface Iterator<String>
close
public void close()
throws IOException
- Specified by:
close in interface Closeable
- Throws:
IOException
main
public static void main(String[] args)
isTruncated
public boolean isTruncated()
- Returns:
- the truncated
setTruncated
public void setTruncated(boolean truncated)
- Parameters:
truncated - the truncated to set
Copyright © 2005-2011 Internet Archive. All Rights Reserved.