org.apache.commons.vfs2.provider
Interface TemporaryFileStore

All Known Implementing Classes:
DefaultFileReplicator

public interface TemporaryFileStore

Manages a repository of temporary local files.

Version:
$Revision: 1040766 $ $Date: 2010-12-01 02:06:53 +0530 (Wed, 01 Dec 2010) $
Author:
Commons VFS team

Method Summary
 File allocateFile(String basename)
          Allocates a new temporary file.
 

Method Detail

allocateFile

File allocateFile(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–2015 WSO2. All rights reserved.