public abstract class AbstractLayeredFileProvider extends AbstractFileProvider implements FileProvider
FileProvider that is layered on top of another, such as the
contents of a zip or tar file.| Constructor and Description |
|---|
AbstractLayeredFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
FileObject |
createFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
protected abstract FileSystem |
doCreateFileSystem(String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system.
|
FileObject |
findFile(FileObject baseFile,
String uri,
FileSystemOptions properties)
Locates a file object, by absolute URI.
|
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, init, setContext, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapabilities, getConfigBuilder, parseUripublic FileObject findFile(FileObject baseFile, String uri, FileSystemOptions properties) throws FileSystemException
findFile in interface FileProviderbaseFile - The base FileObject.uri - The name of the file to locate.properties - The FileSystemOptions.FileSystemException - if an error occurs.public FileObject createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
createFileSystem in interface FileProvidercreateFileSystem in class AbstractFileProviderscheme - The protocol to use.file - a FileObject.fileSystemOptions - Options to access the FileSystem.FileSystemException - if an error occurs.protected abstract FileSystem doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
VfsComponent.scheme - The URI scheme.file - The file to create the file system on top of.FileSystemExceptionCopyright © 2002–2018 WSO2. All rights reserved.