public class JarStorageFactory extends BaseStorageFactory
Modifier and Type | Field and Description |
---|---|
(package private) java.util.zip.ZipFile |
zipData |
canonicalName, dataDirectory, home, separatedDataDirectory, tempDir, tempDirPath, uniqueName
VERSION_NUMBER
Constructor and Description |
---|
JarStorageFactory() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
doInit() |
(package private) StorageFile |
newPersistentFile(StorageFile directoryName,
java.lang.String fileName)
Construct a StorageFile from a directory and file name.
|
(package private) StorageFile |
newPersistentFile(java.lang.String path)
Construct a persistent StorageFile from a path name.
|
(package private) StorageFile |
newPersistentFile(java.lang.String directoryName,
java.lang.String fileName)
Construct a StorageFile from a directory and file name.
|
void |
shutdown()
Close the opened jar/zip file on shutdown.
|
createTempDir, createTemporaryFile, getCanonicalName, getSeparator, getStorageFactoryVersion, getTempDir, init, isFast, isReadOnlyDatabase, newStorageFile, newStorageFile, newStorageFile, setCanonicalName, supportsRandomAccess
StorageFile newPersistentFile(java.lang.String path)
newPersistentFile
in class BaseStorageFactory
path
- The path name of the fileStorageFile newPersistentFile(java.lang.String directoryName, java.lang.String fileName)
newPersistentFile
in class BaseStorageFactory
directoryName
- The directory part of the path name. Must not be null, nor may it be in the temp dir.fileName
- The name of the file within the directory.StorageFile newPersistentFile(StorageFile directoryName, java.lang.String fileName)
newPersistentFile
in class BaseStorageFactory
directoryName
- The directory part of the path name.fileName
- The name of the file within the directory.void doInit() throws java.io.IOException
doInit
in class BaseStorageFactory
java.io.IOException
public void shutdown()
shutdown
in interface StorageFactory
shutdown
in class BaseStorageFactory