public class JarFileSystem extends ZipFileSystem
Modifier | Constructor and Description |
---|---|
protected |
JarFileSystem(AbstractFileName rootName,
FileObject file,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCapabilities(Collection<Capability> caps)
Returns the capabilities of this file system.
|
protected ZipFile |
createZipFile(File file) |
protected ZipFileObject |
createZipFileObject(AbstractFileName name,
ZipEntry entry) |
Object |
getAttribute(String attrName)
Retrives the attribute with the specified name.
|
protected ZipFile |
getZipFile() |
createFile, doCloseCommunicationLink, init
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
getContext, getLogger, setContext, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addJunction, addListener, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
protected JarFileSystem(AbstractFileName rootName, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
protected ZipFile createZipFile(File file) throws FileSystemException
createZipFile
in class ZipFileSystem
FileSystemException
protected ZipFileObject createZipFileObject(AbstractFileName name, ZipEntry entry) throws FileSystemException
createZipFileObject
in class ZipFileSystem
FileSystemException
protected void addCapabilities(Collection<Capability> caps)
addCapabilities
in class ZipFileSystem
public Object getAttribute(String attrName) throws FileSystemException
getAttribute
in interface FileSystem
getAttribute
in class AbstractFileSystem
attrName
- The attiribute's name.FileSystemException
- if an error occurs.FileContent.getAttribute(java.lang.String)
protected ZipFile getZipFile() throws FileSystemException
getZipFile
in class ZipFileSystem
FileSystemException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.