Class GzipFileProvider
- java.lang.Object
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,FileProvider
,VfsComponent
public class GzipFileProvider extends CompressedFileFileProvider
Provides access to the content of Gzip 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()
Gets the file system capabilities.-
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.
-
-
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
Gets the file system capabilities.These are the same as on the file system, but available before the first file system was instanciated.
- Specified by:
getCapabilities
in interfaceFileProvider
- Specified by:
getCapabilities
in classCompressedFileFileProvider
- Returns:
- a Collection of the file systems Capabilities.
-
-