public class TemporaryFileProvider extends AbstractFileProvider implements FileProvider, 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 properties)
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. |
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFileSystem, getConfigBuilder, parseUri
public TemporaryFileProvider(File rootFile)
public TemporaryFileProvider()
public int compareTo(Object o)
compareTo
in interface Comparable<Object>
public FileObject findFile(FileObject baseFile, String uri, FileSystemOptions properties) throws FileSystemException
findFile
in interface FileProvider
baseFile
- The base FileObject.uri
- The URI of the file to be located.properties
- FileSystemOptions to use to locate or create the file.FileSystemException
- if an error occurs.public Collection<Capability> getCapabilities()
FileProvider
getCapabilities
in interface FileProvider
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.