http.utils.multipartrequest
Class TempFile

java.lang.Object
  extended byhttp.utils.multipartrequest.TempFile

public class TempFile
extends java.lang.Object

Borrowed pretty much all the the logic from java.io.File (Java 2)


Constructor Summary
TempFile()
           
 
Method Summary
static java.io.File createTempFile(java.lang.String prefix, java.lang.String suffix, java.io.File directory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempFile

public TempFile()
Method Detail

createTempFile

public static java.io.File createTempFile(java.lang.String prefix,
                                          java.lang.String suffix,
                                          java.io.File directory)
                                   throws java.io.IOException
Parameters:
prefix - Must be at least 3 characters long
suffix - The file extension (minus the extension)
directory - Where do you want this temporary file saved.
Throws:
java.io.IOException