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, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
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 void closeFileSystem(FileSystem filesystem)
closeFileSystem
in class AbstractFileProvider
public java.util.Collection getCapabilities()
FileProvider