public abstract class CompressedFileFileProvider extends AbstractLayeredFileProvider
Constructor and Description |
---|
CompressedFileFileProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract FileSystem |
createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions) |
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
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.protected abstract FileSystem createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
public abstract Collection<Capability> getCapabilities()
FileProvider
These are the same as on the file system, but available before the first file system was instanciated.
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.