public class ZipFileSystem extends AbstractFileSystem implements FileSystem
| Constructor and Description |
|---|
ZipFileSystem(AbstractFileName rootName,
FileObject parentLayer,
FileSystemOptions fileSystemOptions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCapabilities(Collection<Capability> caps)
Returns the capabilities of this file system.
|
protected FileObject |
createFile(AbstractFileName name)
Creates a file object.
|
protected ZipFile |
createZipFile(File file) |
protected ZipFileObject |
createZipFileObject(AbstractFileName name,
ZipEntry entry) |
protected void |
doCloseCommunicationLink()
Close the underlaying link used to access the files
|
protected ZipFile |
getZipFile() |
void |
init()
Initialises this component.
|
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, 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, getRootURI, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttributepublic ZipFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemExceptionpublic void init()
throws FileSystemException
AbstractFileSysteminit in interface VfsComponentinit in class AbstractFileSystemFileSystemException - if an error occurs.protected ZipFile getZipFile() throws FileSystemException
FileSystemExceptionprotected ZipFileObject createZipFileObject(AbstractFileName name, ZipEntry entry) throws FileSystemException
FileSystemExceptionprotected ZipFile createZipFile(File file) throws FileSystemException
FileSystemExceptionprotected void doCloseCommunicationLink()
AbstractFileSystemdoCloseCommunicationLink in class AbstractFileSystemprotected void addCapabilities(Collection<Capability> caps)
addCapabilities in class AbstractFileSystemprotected FileObject createFile(AbstractFileName name) throws FileSystemException
createFile in class AbstractFileSystemFileSystemExceptionCopyright © 2002–2018 WSO2. All rights reserved.