com.oreilly.servlet.multipart
Interface FileRenamePolicy

All Known Implementing Classes:
DefaultFileRenamePolicy

public interface FileRenamePolicy

An interface to provide a pluggable file renaming policy, particularly useful to handle naming conflicts with an existing file.

Version:
1.0, 2002/04/30, initial revision, thanks to Changshin Lee for the basic idea
Author:
Jason Hunter

Method Summary
 java.io.File rename(java.io.File f)
          Returns a File object holding a new name for the specified file.
 

Method Detail

rename

java.io.File rename(java.io.File f)
Returns a File object holding a new name for the specified file.

See Also:
FilePart.writeTo(File fileOrDirectory)