Package org.apache.commons.vfs2.provider
Interface TemporaryFileStore
-
- All Known Implementing Classes:
DefaultFileReplicator
public interface TemporaryFileStore
Manages a repository of temporary local files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
allocateFile(java.lang.String basename)
Allocates a new temporary file.
-
-
-
Method Detail
-
allocateFile
java.io.File allocateFile(java.lang.String basename) throws FileSystemException
Allocates a new temporary file. The file (and all its descendants) will be deleted when this store is closed.- Parameters:
basename
- The name of the file.- Returns:
- The temporary file.
- Throws:
FileSystemException
- if an error occurs.
-
-