public class JarFileProvider extends ZipFileProvider
capabilities
Constructor and Description |
---|
JarFileProvider() |
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.
|
getConfigBuilder
createFileSystem, findFile
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
protected FileSystem doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
doCreateFileSystem
in class ZipFileProvider
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.
getCapabilities
in interface FileProvider
getCapabilities
in class ZipFileProvider
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.