java.lang.Comparable
, FileProvider
, VfsComponent
public class TemporaryFileProvider extends AbstractFileProvider implements FileProvider, java.lang.Comparable
Constructor | Description |
---|---|
TemporaryFileProvider() |
|
TemporaryFileProvider(java.io.File rootFile) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(java.lang.Object o) |
|
FileObject |
findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions properties) |
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. |
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
getContext, getLogger, init, setContext, setLogger
addComponent, removeComponent
createFileSystem, getConfigBuilder, parseUri
public TemporaryFileProvider(java.io.File rootFile)
public TemporaryFileProvider()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public FileObject findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions properties) throws FileSystemException
findFile
in interface FileProvider
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 java.util.Collection getCapabilities()
FileProvider
getCapabilities
in interface FileProvider