public class ZipFileSystem extends AbstractFileSystem implements FileSystem
| Constructor and Description |
|---|
ZipFileSystem(FileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
| Modifier and Type | Method and 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, setAttributegetContext, getLogger, setContext, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJunction, addListener, getAttribute, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributepublic ZipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemExceptionpublic void init()
throws FileSystemException
AbstractFileSysteminit in interface VfsComponentinit in class AbstractFileSystemFileSystemExceptionprotected java.util.zip.ZipFile getZipFile()
throws FileSystemException
FileSystemExceptionprotected ZipFileObject createZipFileObject(FileName name, java.util.zip.ZipEntry entry) throws FileSystemException
FileSystemExceptionprotected java.util.zip.ZipFile createZipFile(java.io.File file)
throws FileSystemException
FileSystemExceptionprotected void doCloseCommunicationLink()
AbstractFileSystemdoCloseCommunicationLink in class AbstractFileSystemprotected void addCapabilities(java.util.Collection caps)
addCapabilities in class AbstractFileSystemprotected FileObject createFile(FileName name) throws FileSystemException
createFile in class AbstractFileSystemFileSystemException