Class Tbz2FileProvider
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.CompositeFileProvider
org.apache.commons.vfs2.provider.tar.Tbz2FileProvider
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileProvider
,VfsComponent
A file system provider for Tar files. Provides read-only file systems.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Collection<Capability>
The provider's capabilities -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the file system capabilities.protected String[]
The schemes known.Methods inherited from class org.apache.commons.vfs2.provider.CompositeFileProvider
findFile
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider
addFileSystem, close, closeFileSystem, createFileSystem, 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
-
Tbz2FileProvider
public Tbz2FileProvider()Constructs a new instance.
-
-
Method Details
-
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 instantiated.
- Returns:
- a Collection of the file systems Capabilities.
-
getSchemes
Description copied from class:CompositeFileProvider
The schemes known.- Specified by:
getSchemes
in classCompositeFileProvider
- Returns:
- Array of supported schemes.
-