FileProvider, VfsComponentCompressedFileFileProvider, TarFileProvider, ZipFileProviderpublic 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 | Description |
|---|---|
AbstractLayeredFileProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
FileObject |
createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
protected abstract FileSystem |
doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
FileObject |
findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions properties) |
Locates a file object, by absolute URI.
|
addFileSystem, close, closeFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParsergetContext, getLogger, init, setContext, setLoggeraddComponent, removeComponentgetCapabilities, getConfigBuilder, parseUripublic FileObject findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions properties) throws FileSystemException
findFile in interface FileProviderbaseFile - The base file to use for resolving the individual parts of
a compound URI.uri - The absolute URI of the file to find.FileSystemExceptionpublic FileObject createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
createFileSystem in interface FileProvidercreateFileSystem in class AbstractFileProviderscheme - The URI scheme for the layered file system.file - The file to build the file system on.FileSystemExceptionprotected abstract FileSystem doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
VfsComponent.scheme - The URI scheme.file - The file to create the file system on top of.FileSystemException