public class ZLDBackend extends RawLDBackend<ZLDBackendState>
The GNU Lesser General Public License for details.
,
Serialized FormModifier and Type | Field and Description |
---|---|
private static int |
BLOCK_ENTRY_COUNT |
private static int |
BLOCK_ENTRY_SIZE |
private static org.slf4j.Logger |
log
The log stream
|
private static long |
serialVersionUID |
private static int |
ZDX_ENTRY_SIZE |
Constructor and Description |
---|
ZLDBackend(SwordBookMetaData sbmd)
Simple ctor
|
Modifier and Type | Method and Description |
---|---|
void |
dumpIdxRaf()
Experimental code.
|
protected DataEntry |
getEntry(RawLDBackendState fileState,
DataEntry entry)
Get the entry indicated by this entry.
|
ZLDBackendState |
initState()
Initialises the state required to read from files, specific to each
different backend
|
private void |
readObject(ObjectInputStream is)
Serialization support.
|
get, getCardinality, getIndex, getRawText, getRawTextLength, indexOf, readRawContent, toIMP
addAll, blur, canHaveChildren, clear, clone, compareTo, contains, equals, getChildCount, getName, getName, getOsisID, getOsisRef, getParent, getRootName, hashCode, isEmpty, iterator, removeAll, retainAll, setAliasKey, setRawText
create, decipher, encipher, getBookMetaData, getGlobalKeyList, getRawText, isSupported, isWritable, readIndex, readToOsis, setAliasKey
private static final int ZDX_ENTRY_SIZE
private static final int BLOCK_ENTRY_COUNT
private static final int BLOCK_ENTRY_SIZE
private static final org.slf4j.Logger log
private static final long serialVersionUID
public ZLDBackend(SwordBookMetaData sbmd)
sbmd
- public ZLDBackendState initState() throws BookException
StatefulFileBackedBackend
initState
in interface StatefulFileBackedBackend<RawLDBackendState>
initState
in class RawLDBackend<ZLDBackendState>
BookException
protected DataEntry getEntry(RawLDBackendState fileState, DataEntry entry)
RawLDBackend
getEntry
in class RawLDBackend<ZLDBackendState>
fileState
- the state where the entry can be foundentry
- the entry that might indicate a deeper entryprivate void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException
is
- IOException
ClassNotFoundException
public void dumpIdxRaf()
dumpIdxRaf
in class RawLDBackend<ZLDBackendState>