Class GzipFileProvider
- java.lang.Object
-
- All Implemented Interfaces:
FileProvider
,VfsComponent
public class GzipFileProvider extends CompressedFileFileProvider
Provides access to the content of gzip compressed files.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Collection<Capability>
capabilities
Capabilities.
-
Constructor Summary
Constructors Constructor Description GzipFileProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FileSystem
createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
java.util.Collection<Capability>
getCapabilities()
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated.-
Methods inherited from class org.apache.commons.vfs2.provider.compressed.CompressedFileFileProvider
doCreateFileSystem
-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractLayeredFileProvider
createFileSystem, findFile
-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsContainer
addComponent, removeComponent
-
Methods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, init, setContext, setLogger
-
-
-
-
Field Detail
-
capabilities
protected static final java.util.Collection<Capability> capabilities
Capabilities.
-
-
Constructor Detail
-
GzipFileProvider
public GzipFileProvider()
-
-
Method Detail
-
createFileSystem
protected FileSystem createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
- Specified by:
createFileSystem
in classCompressedFileFileProvider
- Throws:
FileSystemException
-
getCapabilities
public java.util.Collection<Capability> getCapabilities()
Description copied from interface:FileProvider
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated.- Specified by:
getCapabilities
in interfaceFileProvider
- Specified by:
getCapabilities
in classCompressedFileFileProvider
- Returns:
- a Collection of the file systems Capabilities.
-
-