LocalFileProvider
AbstractFileProvider
, AbstractLayeredFileProvider
, AbstractOriginatingFileProvider
, Bzip2FileProvider
, CompositeFileProvider
, CompressedFileFileProvider
, DefaultLocalFileProvider
, FtpFileProvider
, GzipFileProvider
, HttpFileProvider
, HttpsFileProvider
, JarFileProvider
, RamFileProvider
, ResourceFileProvider
, SftpFileProvider
, TarFileProvider
, Tbz2FileProvider
, TemporaryFileProvider
, TgzFileProvider
, UrlFileProvider
, ZipFileProvider
public interface FileProvider
A file provider may also implement VfsComponent
.
Modifier and Type | Method | Description |
---|---|---|
FileObject |
createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions) |
Creates a layered file system.
|
FileObject |
findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions) |
Locates a file object, by absolute URI.
|
java.util.Collection |
getCapabilities() |
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated. |
FileSystemConfigBuilder |
getConfigBuilder() |
Gets the configbuilder useable to collect the needed fileSystemOptions.
|
FileName |
parseUri(FileName root,
java.lang.String uri) |
FileObject findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions) throws FileSystemException
baseFile
- The base file to use for resolving the individual parts of
a compound URI.uri
- The absolute URI of the file to find.fileSystemOptions
- FileSystemException
FileObject createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions) throws FileSystemException
scheme
- The URI scheme for the layered file system.file
- The file to build the file system on.fileSystemOptions
- FileSystemException
FileSystemConfigBuilder getConfigBuilder()
java.util.Collection getCapabilities()
FileName parseUri(FileName root, java.lang.String uri) throws FileSystemException
FileSystemException