FileProvider
, VfsComponent
public class UrlFileProvider extends AbstractFileProvider
Modifier and Type | Field | Description |
---|---|---|
protected static java.util.Collection<Capability> |
capabilities |
The provider's 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<Capability> |
getCapabilities() |
Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated. |
FileSystemConfigBuilder |
getConfigBuilder() |
Returns the FileSystemConfigBuidler.
|
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
getContext, getLogger, init, setContext, setLogger
addComponent, removeComponent
protected static final java.util.Collection<Capability> capabilities
public UrlFileProvider()
public FileObject findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions) throws FileSystemException
baseFile
- The base FileObject.uri
- The uri of the file to locate.fileSystemOptions
- The FileSystemOptionsFileSystemException
- if an error occurs.public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvider
getConfigBuilder
in interface FileProvider
getConfigBuilder
in class AbstractFileProvider
public java.util.Collection<Capability> getCapabilities()
FileProvider