Class TgzFileProvider
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.TgzFileProvider
- 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
findFileMethods inherited from class org.apache.commons.vfs2.provider.AbstractFileProvider
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParserMethods inherited from class org.apache.commons.vfs2.provider.AbstractVfsContainer
addComponent, removeComponentMethods inherited from class org.apache.commons.vfs2.provider.AbstractVfsComponent
getContext, getLogger, init, setContext, setLogger
-
Field Details
-
capabilities
The provider's capabilities
-
-
Constructor Details
-
TgzFileProvider
public TgzFileProvider()Constructs a new instance.
-
-
Method Details
-
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 instantiated.
- Returns:
- a Collection of the file systems Capabilities.
-
getSchemes
Description copied from class:CompositeFileProviderThe schemes known.- Specified by:
getSchemesin classCompositeFileProvider- Returns:
- Array of supported schemes.
-