StorageFactorypublic class JarStorageFactory extends BaseStorageFactory
| Modifier and Type | Field | Description |
|---|---|---|
(package private) java.util.zip.ZipFile |
zipData |
canonicalName, dataDirectory, home, separatedDataDirectory, tempDir, tempDirPath, uniqueNameVERSION_NUMBER| Constructor | Description |
|---|---|
JarStorageFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
doInit() |
|
private java.io.File |
getJarFile(java.lang.String 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.
|
(package private) StorageFile |
newPersistentFile(StorageFile 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, supportsRandomAccessStorageFile newPersistentFile(java.lang.String path)
newPersistentFile in class BaseStorageFactorypath - The path name of the fileStorageFile newPersistentFile(java.lang.String directoryName, java.lang.String fileName)
newPersistentFile in class BaseStorageFactorydirectoryName - 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 BaseStorageFactorydirectoryName - 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 BaseStorageFactoryjava.io.IOExceptionpublic void shutdown()
shutdown in interface StorageFactoryshutdown in class BaseStorageFactoryprivate java.io.File getJarFile(java.lang.String name)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.