Class TemporaryFileProvider
java.lang.Object
org.apache.commons.vfs.provider.AbstractVfsComponent
org.apache.commons.vfs.provider.AbstractVfsContainer
org.apache.commons.vfs.provider.AbstractFileProvider
org.apache.commons.vfs.provider.temp.TemporaryFileProvider
- All Implemented Interfaces:
Comparable, FileProvider, VfsComponent
A provider for temporary files.
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Adam Murdoch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfindFile(FileObject baseFile, String uri, FileSystemOptions properties) Locates a file object, by absolute URI.Get the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated.Methods inherited from class AbstractFileProvider
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getConfigBuilder, getFileNameParser, parseUri, setFileNameParserMethods inherited from class AbstractVfsContainer
addComponent, removeComponentMethods inherited from class AbstractVfsComponent
getContext, getLogger, init, setContext, setLoggerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FileProvider
createFileSystem, getConfigBuilder, parseUri
-
Constructor Details
-
TemporaryFileProvider
-
TemporaryFileProvider
public TemporaryFileProvider()
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable
-
findFile
public FileObject findFile(FileObject baseFile, String uri, FileSystemOptions properties) throws FileSystemException Locates a file object, by absolute URI.- Specified by:
findFilein interfaceFileProvider- Parameters:
baseFile- The base file to use for resolving the individual parts of a compound URI.uri- The absolute URI of the file to find.properties-- Throws:
FileSystemException
-
getCapabilities
Description copied from interface:FileProviderGet the filesystem capabilities.
These are the same as on the filesystem, but available before the first filesystem was instanciated.- Specified by:
getCapabilitiesin interfaceFileProvider
-