Class GzipFileProvider
- All Implemented Interfaces:
Closeable, AutoCloseable, FileProvider, VfsComponent
Provides access to the content of Gzip files.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileSystemcreateFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Create a FileSystem.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
Capabilities.
-
-
Constructor Details
-
GzipFileProvider
public GzipFileProvider()Constructs a new instance.
-
-
Method Details
-
createFileSystem
protected FileSystem createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException Description copied from class:CompressedFileFileProviderCreate a FileSystem.- Specified by:
createFileSystemin classCompressedFileFileProvider- Parameters:
name- a file name.file- a file object.fileSystemOptions- the file system options.- Returns:
- a FileSystem.
- Throws:
FileSystemException- if a file system error occurs.
-
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.
- Specified by:
getCapabilitiesin interfaceFileProvider- Specified by:
getCapabilitiesin classCompressedFileFileProvider- Returns:
- a Collection of the file systems Capabilities.
-