public class BitFileInMemoryLarge extends Object implements BitInSeekable
| Constructor and Description |
|---|
BitFileInMemoryLarge(RandomDataInputMemory _rdim)
constructor
|
BitFileInMemoryLarge(String filename)
load compressed file into memory
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
BitIn |
readReset(long startByteOffset,
byte startBitOffset)
Reads from the file from a specific offset.
|
BitIn |
readReset(long startByteOffset,
byte startBitOffset,
long endByteOffset,
byte endBitOffset)
Reads from the file a specific number of bytes and after this
call, a sequence of read calls may follow.
|
public BitFileInMemoryLarge(RandomDataInputMemory _rdim) throws IOException
_rdim - IOExceptionpublic BitFileInMemoryLarge(String filename) throws IOException
filename - IOExceptionpublic BitIn readReset(long startByteOffset, byte startBitOffset, long endByteOffset, byte endBitOffset) throws IOException
readReset in interface BitInSeekablestartByteOffset - the starting byte to read fromstartBitOffset - the bit offset in the starting byteendByteOffset - the ending byteendBitOffset - the bit offset in the ending byte.
This bit is the last bit of this entry.IOExceptionpublic BitIn readReset(long startByteOffset, byte startBitOffset) throws IOException
readReset in interface BitInSeekablestartByteOffset - the starting byte to read fromstartBitOffset - the bit offset in the starting byteIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow