public class ResourceFileProvider extends AbstractFileProvider
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Collection |
capabilities |
| Constructor and Description |
|---|
ResourceFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeFileSystem(FileSystem filesystem) |
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, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, init, setContext, setLoggerpublic 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.FileSystemExceptionpublic FileSystemConfigBuilder getConfigBuilder()
FileProvidergetConfigBuilder in interface FileProvidergetConfigBuilder in class AbstractFileProviderpublic void closeFileSystem(FileSystem filesystem)
closeFileSystem in class AbstractFileProviderpublic java.util.Collection getCapabilities()
FileProvider