public abstract class CompressedFileFileProvider extends AbstractLayeredFileProvider
Constructor and Description |
---|
CompressedFileFileProvider()
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected abstract FileSystem |
createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions)
Create a FileSystem.
|
protected FileSystem |
doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
abstract Collection<Capability> |
getCapabilities()
Gets the file system capabilities.
|
createFileSystem, findFile
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
public CompressedFileFileProvider()
protected abstract FileSystem createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
name
- a file name.file
- a file object.fileSystemOptions
- the file system options.FileSystemException
- if a file system error occurs.protected FileSystem doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
doCreateFileSystem
in class AbstractLayeredFileProvider
scheme
- The URI scheme.file
- The file to create the file system on top of.fileSystemOptions
- options for new and underlying file systems.FileSystemException
- if the file system cannot be created.public abstract Collection<Capability> getCapabilities()
FileProvider
These are the same as on the file system, but available before the first file system was instantiated.
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.