public class UrlFileProvider extends AbstractFileProvider
| Modifier and Type | Field and Description |
|---|---|
protected static Collection<Capability> |
capabilities
The provider's capabilities
|
| Constructor and Description |
|---|
UrlFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
FileObject |
findFile(FileObject baseFile,
String fileUri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
Collection<Capability> |
getCapabilities()
Gets the file system capabilities.
|
FileSystemConfigBuilder |
getConfigBuilder()
Returns the FileSystemConfigBuidler.
|
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, init, setContext, setLoggerprotected static final Collection<Capability> capabilities
public FileObject findFile(FileObject baseFile, String fileUri, FileSystemOptions fileSystemOptions) throws FileSystemException
baseFile - The base FileObject.fileUri - The uri of the file to locate.fileSystemOptions - The FileSystemOptionsFileSystemException - if an error occurs.public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvidergetConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic Collection<Capability> getCapabilities()
FileProviderThese are the same as on the file system, but available before the first file system was instanciated.
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.