FileSystem
, VfsComponent
JarFileSystem
public class ZipFileSystem extends AbstractFileSystem implements FileSystem
Constructor | Description |
---|---|
ZipFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
addCapabilities(java.util.Collection caps) |
Returns the capabilities of this file system.
|
protected FileObject |
createFile(FileName name) |
Creates a file object.
|
protected java.util.zip.ZipFile |
createZipFile(java.io.File file) |
|
protected ZipFileObject |
createZipFileObject(FileName name,
java.util.zip.ZipEntry entry) |
|
protected void |
doCloseCommunicationLink() |
Close the underlaying link used to access the files
|
protected java.util.zip.ZipFile |
getZipFile() |
|
void |
init() |
Initialises this component.
|
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
getContext, getLogger, setContext, setLogger
addJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
public ZipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
public void init() throws FileSystemException
AbstractFileSystem
init
in interface VfsComponent
init
in class AbstractFileSystem
FileSystemException
protected java.util.zip.ZipFile getZipFile() throws FileSystemException
FileSystemException
protected ZipFileObject createZipFileObject(FileName name, java.util.zip.ZipEntry entry) throws FileSystemException
FileSystemException
protected java.util.zip.ZipFile createZipFile(java.io.File file) throws FileSystemException
FileSystemException
protected void doCloseCommunicationLink()
AbstractFileSystem
doCloseCommunicationLink
in class AbstractFileSystem
protected void addCapabilities(java.util.Collection caps)
addCapabilities
in class AbstractFileSystem
protected FileObject createFile(FileName name) throws FileSystemException
createFile
in class AbstractFileSystem
FileSystemException