org.apache.commons.vfs.provider
Interface TemporaryFileStore

All Known Implementing Classes:
DefaultFileReplicator

public interface TemporaryFileStore

Manages a repository of temporary local files.

Version:
$Revision: 804548 $ $Date: 2009-08-16 04:12:32 +0200 (So, 16. Aug 2009) $
Author:
Adam Murdoch

Method Summary
 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 descendents) 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.


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.