public class TemporaryFileProvider extends AbstractFileProvider implements Comparable<Object>
| Constructor and Description |
|---|
TemporaryFileProvider() |
TemporaryFileProvider(File rootFile) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
FileObject |
findFile(FileObject baseFile,
String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.
|
Collection<Capability> |
getCapabilities()
Gets the file system capabilities.
|
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentgetContext, getLogger, init, setContext, setLoggerpublic TemporaryFileProvider(File rootFile)
public TemporaryFileProvider()
public int compareTo(Object o)
compareTo in interface Comparable<Object>public FileObject findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) throws FileSystemException
findFile in interface FileProviderbaseFile - The base FileObject.uri - The URI of the file to be located.fileSystemOptions - FileSystemOptions to use to locate or create the file.FileSystemException - if an error occurs.public Collection<Capability> getCapabilities()
FileProviderThese are the same as on the file system, but available before the first file system was instanciated.
getCapabilities in interface FileProviderCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.