|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BitInSeekable
Interface for reading a bit compressed file in a random access manner.
Each method returns a BitIn implementation
that allows access to the encoded integers. Several implementations exist:
BitFileBuffered - buffers an amount of data starting that the specified offset.BitFile - buffers the pre-specified amount starting and ending as specified. This implementation can also be used for reading. This class is deprecated.BitFileInMemory - reads the entire file into memory. File must be less than Integer.MAX_VALUE (2GB).BitFileInMemoryLarge - reads the entire file into memory. File size only constrained by available memory.
BitFileBuffered,
BitOut,
BitIn| Method Summary | |
|---|---|
BitIn |
readReset(long startByteOffset,
byte startBitOffset)
Reads from the file a specific number of bytes and after this call, a sequence of read calls may follow. |
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. |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
BitIn readReset(long startByteOffset,
byte startBitOffset,
long endByteOffset,
byte endBitOffset)
throws java.io.IOException
startByteOffset - 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.
java.io.IOException
BitIn readReset(long startByteOffset,
byte startBitOffset)
throws java.io.IOException
startByteOffset - the starting byte to read fromstartBitOffset - the bit offset in the starting byte
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||