org.archive.wayback.resourceindex.ziplines
Class ZiplinedBlock
java.lang.Object
org.archive.wayback.resourceindex.ziplines.ZiplinedBlock
public class ZiplinedBlock
- extends Object
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOCK_SIZE
public static final int BLOCK_SIZE
- See Also:
- Constant Field Values
ZiplinedBlock
public ZiplinedBlock(String urlOrPath,
long offset)
- Parameters:
urlOrPath - URL where this file can be downloadedoffset - start of 128K block boundary.
ZiplinedBlock
public ZiplinedBlock(String urlOrPath,
long offset,
int count)
- Parameters:
urlOrPath - URL where this file can be downloadedoffset - start of 128K block boundary.count - number of records in this block
readBlock
public BufferedReader readBlock()
throws IOException
- Returns:
- a BufferedReader of the underlying compressed data in this block
- Throws:
IOException - for usual reasons
Copyright © 2005-2011 Internet Archive. All Rights Reserved.