public class ZLDBackend extends RawLDBackend<ZLDBackendState>
The GNU Lesser General Public License for details.,
Serialized Form| Modifier 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, toIMPaddAll, blur, canHaveChildren, clear, clone, compareTo, contains, equals, getChildCount, getName, getName, getOsisID, getOsisRef, getParent, getRootName, hashCode, isEmpty, iterator, removeAll, retainAll, setAliasKey, setRawTextcreate, decipher, encipher, getBookMetaData, getGlobalKeyList, getRawText, isSupported, isWritable, readIndex, readToOsis, setAliasKeyprivate 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
StatefulFileBackedBackendinitState in interface StatefulFileBackedBackend<RawLDBackendState>initState in class RawLDBackend<ZLDBackendState>BookExceptionprotected DataEntry getEntry(RawLDBackendState fileState, DataEntry entry)
RawLDBackendgetEntry 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 - IOExceptionClassNotFoundExceptionpublic void dumpIdxRaf()
dumpIdxRaf in class RawLDBackend<ZLDBackendState>