public class JarFileSystem extends ZipFileSystem
Modifier | Constructor and Description |
---|---|
protected |
JarFileSystem(FileName rootName,
FileObject file,
FileSystemOptions fileSystemOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCapabilities(java.util.Collection caps)
Returns the capabilities of this file system.
|
protected java.util.zip.ZipFile |
createZipFile(java.io.File file) |
protected ZipFileObject |
createZipFileObject(FileName name,
java.util.zip.ZipEntry entry) |
java.lang.Object |
getAttribute(java.lang.String attrName)
Retrives the attribute with the specified name.
|
protected java.util.zip.ZipFile |
getZipFile() |
createFile, doCloseCommunicationLink, init
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, 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, hasCapability, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
protected JarFileSystem(FileName rootName, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
protected java.util.zip.ZipFile createZipFile(java.io.File file) throws FileSystemException
createZipFile
in class ZipFileSystem
FileSystemException
protected ZipFileObject createZipFileObject(FileName name, java.util.zip.ZipEntry entry) throws FileSystemException
createZipFileObject
in class ZipFileSystem
FileSystemException
protected void addCapabilities(java.util.Collection caps)
addCapabilities
in class ZipFileSystem
public java.lang.Object getAttribute(java.lang.String attrName) throws FileSystemException
getAttribute
in interface FileSystem
getAttribute
in class AbstractFileSystem
attrName
- The name of the attribute.FileSystemException
- If the file does not exist, or is being written, or if the
attribute is unknown.FileContent.getAttribute(java.lang.String)
protected java.util.zip.ZipFile getZipFile() throws FileSystemException
getZipFile
in class ZipFileSystem
FileSystemException