Class Bzip2FileProvider
java.lang.Object
org.apache.commons.vfs2.provider.AbstractVfsComponent
org.apache.commons.vfs2.provider.AbstractVfsContainer
org.apache.commons.vfs2.provider.AbstractFileProvider
org.apache.commons.vfs2.provider.AbstractLayeredFileProvider
org.apache.commons.vfs2.provider.compressed.CompressedFileFileProvider
org.apache.commons.vfs2.provider.bzip2.Bzip2FileProvider
- All Implemented Interfaces:
FileProvider
,VfsComponent
Provides access to the content of bzip2 compressed files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Collection<Capability>
The provider's capabilities -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileSystem
createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) 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 Details
-
capabilities
The provider's capabilities
-
-
Constructor Details
-
Bzip2FileProvider
public Bzip2FileProvider()
-
-
Method Details
-
createFileSystem
protected FileSystem createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException - Specified by:
createFileSystem
in classCompressedFileFileProvider
- Throws:
FileSystemException
-
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.
-