FileProvider
, VfsComponent
public class UrlFileProvider extends AbstractFileProvider
Modifier and Type | Field | Description |
---|---|---|
protected static java.util.Collection |
capabilities |
Constructor | Description |
---|---|
UrlFileProvider() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
getContext, getLogger, init, setContext, setLogger
addComponent, removeComponent
public 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.FileSystemException
public FileSystemConfigBuilder getConfigBuilder()
FileProvider
getConfigBuilder
in interface FileProvider
getConfigBuilder
in class AbstractFileProvider
public java.util.Collection getCapabilities()
FileProvider