public class ConcurrentBitFileBuffered extends BitFileBuffered
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ConcurrentBitFileBuffered.ConcurrentBitInBuffered |
BitFileBuffered.BitInBufferedbuffer_size, DEFAULT_BUFFER_LENGTH, fileSize, logger| Constructor and Description |
|---|
ConcurrentBitFileBuffered(File _file) |
ConcurrentBitFileBuffered(File _file,
int bufSize) |
ConcurrentBitFileBuffered(RandomDataInput f) |
ConcurrentBitFileBuffered(String filename) |
ConcurrentBitFileBuffered(String filename,
int bufSize) |
| Modifier and Type | Method and Description |
|---|---|
static ConcurrentBitFileBuffered |
of(BitFileBuffered old) |
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.
|
closepublic ConcurrentBitFileBuffered(File _file, int bufSize)
public ConcurrentBitFileBuffered(File _file)
public ConcurrentBitFileBuffered(RandomDataInput f)
public ConcurrentBitFileBuffered(String filename, int bufSize)
public ConcurrentBitFileBuffered(String filename)
public static ConcurrentBitFileBuffered of(BitFileBuffered old)
public BitIn readReset(long startByteOffset, byte startBitOffset, long endByteOffset, byte endBitOffset)
BitFileBufferedreadReset in interface BitInSeekablereadReset in class BitFileBufferedstartByteOffset - 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.public BitIn readReset(long startByteOffset, byte startBitOffset)
BitFileBufferedreadReset in interface BitInSeekablereadReset in class BitFileBufferedstartByteOffset - the starting byte to read fromstartBitOffset - the bit offset in the starting byteTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow