public class GenBookBackendState extends AbstractOpenFileState
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private File |
bdtFile
The raw data file
|
private RandomAccessFile |
bdtRaf
The random access file for the raw data
|
private static String |
EXTENSION_BDT
Raw GenBook file extensions
|
private static org.slf4j.Logger |
LOGGER
The log stream
|
Constructor and Description |
---|
GenBookBackendState(BookMetaData bookMetaData)
This is default package access for forcing the use of the
OpenFileStateManager to manage the creation.
|
Modifier and Type | Method and Description |
---|---|
RandomAccessFile |
getBdtRaf() |
void |
releaseResources() |
close, getBookMetaData, getLastAccess, setLastAccess
private static final String EXTENSION_BDT
private File bdtFile
private RandomAccessFile bdtRaf
private static final org.slf4j.Logger LOGGER
GenBookBackendState(BookMetaData bookMetaData)
bookMetaData
- the appropriate metadata for the bookpublic void releaseResources()
public RandomAccessFile getBdtRaf()