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:
Closeable, AutoCloseable, 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 FileSystemcreateFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Gets the file system capabilities.Methods inherited from class CompressedFileFileProvider
doCreateFileSystemMethods inherited from class AbstractLayeredFileProvider
createFileSystem, findFileMethods inherited from class AbstractFileProvider
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParserMethods inherited from class AbstractVfsContainer
addComponent, removeComponentMethods inherited from class 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:
createFileSystemin classCompressedFileFileProvider- Throws:
FileSystemException
-
getCapabilities
Description copied from interface:FileProviderGets the file system capabilities.These are the same as on the file system, but available before the first file system was instanciated.
- Specified by:
getCapabilitiesin interfaceFileProvider- Specified by:
getCapabilitiesin classCompressedFileFileProvider- Returns:
- a Collection of the file systems Capabilities.
-