public class ResourceFileProvider extends AbstractFileProvider
| Modifier and Type | Field and Description |
|---|---|
protected static Collection<Capability> |
capabilities
The provider's capabilities
|
| Constructor and Description |
|---|
ResourceFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeFileSystem(FileSystem filesystem)
Close the FileSystem.
|
FileObject |
findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
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, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, init, setContext, setLoggerprotected static final Collection<Capability> capabilities
public FileObject findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) throws FileSystemException
baseFile - The base file.uri - The URI of the file to locate.fileSystemOptions - The FileSystem options.FileSystemException - if an error occurs.public FileSystemConfigBuilder getConfigBuilder()
AbstractFileProvidergetConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic void closeFileSystem(FileSystem filesystem)
AbstractFileProvidercloseFileSystem in class AbstractFileProviderfilesystem - The FileSystem to close.public Collection<Capability> getCapabilities()
FileProviderCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.