public class ZipFileProvider extends AbstractLayeredFileProvider
Modifier and Type | Field and Description |
---|---|
protected static Collection<Capability> |
capabilities
The list of capabilities this provider supports
|
Constructor and Description |
---|
ZipFileProvider() |
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
Collection<Capability> |
getCapabilities()
Gets the file system capabilities.
|
FileSystemConfigBuilder |
getConfigBuilder()
Return config builder.
|
createFileSystem, findFile
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
protected static final Collection<Capability> capabilities
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 Collection<Capability> getCapabilities()
FileProvider
These are the same as on the file system, but available before the first file system was instanciated.
public FileSystemConfigBuilder getConfigBuilder()
getConfigBuilder
in interface FileProvider
getConfigBuilder
in class AbstractFileProvider
AbstractFileProvider.getConfigBuilder()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.