public class ZiplinedMultiBlock extends ZiplinedBlock
BLOCK_SIZE, BYTES_HEADER, BYTES_MINUS, RANGE_HEADER
Constructor and Description |
---|
ZiplinedMultiBlock(long offset,
BlockLoader loader,
String partName,
String[] locations) |
Modifier and Type | Method and Description |
---|---|
void |
addOffset(int size) |
boolean |
isSameBlock(long nextOffset,
String nextPartName) |
BufferedReader |
readBlock() |
String |
toString() |
attemptBlockLoad, readBlockEfficiently, readBlockInefficiently, setLoader
public ZiplinedMultiBlock(long offset, BlockLoader loader, String partName, String[] locations)
public boolean isSameBlock(long nextOffset, String nextPartName)
public void addOffset(int size)
public BufferedReader readBlock() throws IOException
readBlock
in class ZiplinedBlock
IOException
- for usual reasonsCopyright © 2005–2015 IIPC. All rights reserved.