jfig.utils
Class TmpFile
java.lang.Object
jfig.utils.TmpFile
- public class TmpFile
- extends java.lang.Object
create and manage temporary files.
TmpFile creates and manages temporary files (this really should be
in java.io or java.lang).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TmpFile
public TmpFile()
getTmpFile
public static java.io.File getTmpFile()
- try to create a temporary file. This method tries to create the tmp
file at the default location for tmp files (like /usr/tmp or C:\temp).
If that fails, it tries to create a tmp file in the current working
directory.
getTmpDir
public static java.io.File getTmpDir()
getTmpFileInCurrentDir
public static java.io.File getTmpFileInCurrentDir()
getTmpFile
public static java.io.File getTmpFile(java.io.File path)
main
public static void main(java.lang.String[] argv)
throws java.lang.Exception
- Throws:
java.lang.Exception