Class GzipFileSystem
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractFileSystem
org.apache.commons.vfs2.provider.compressed.CompressedFileFileSystem
org.apache.commons.vfs2.provider.gzip.GzipFileSystem
- All Implemented Interfaces:
FileSystem
,VfsComponent
Filesytem to handle compressed files using the gzip method.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GzipFileSystem
(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCapabilities
(Collection<Capability> caps) Returns the capabilities of this file system.protected FileObject
createFile
(AbstractFileName name) Creates a file object.Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileSystem
addJunction, addListener, close, closeCommunicationLink, decorateFileObject, doCloseCommunicationLink, doReplicateFile, fireFileChanged, fireFileCreated, fireFileDeleted, getAttribute, getFileFromCache, getFileSystemManager, getFileSystemOptions, getLastModTimeAccuracy, getParentLayer, getRoot, getRootName, getRootURI, hasCapability, init, isOpen, isReleaseable, notifyAllStreamsClosed, putFileToCache, removeFileFromCache, removeJunction, removeListener, replicateFile, resolveFile, resolveFile, setAttribute
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, setContext, setLogger
-
Constructor Details
-
GzipFileSystem
protected GzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
-
Method Details
-
createFile
Description copied from class:CompressedFileFileSystem
Creates a file object.- Specified by:
createFile
in classCompressedFileFileSystem
- Parameters:
name
- name referencing the new file.- Returns:
- new created FileObject.
- Throws:
FileSystemException
-
addCapabilities
Description copied from class:CompressedFileFileSystem
Returns the capabilities of this file system.- Specified by:
addCapabilities
in classCompressedFileFileSystem
- Parameters:
caps
- collections of Capabilities, can be immutable.
-