Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dbtutools.DbtuTools.core.os
Class TempFile  view TempFile download TempFile.java

java.lang.Object
  extended byorg.dbtutools.DbtuTools.core.os.TempFile

public class TempFile
extends java.lang.Object

This class should be used to create temporary files within the /opt/dbtutools tree. It cannot be instantiated.


Constructor Summary
private TempFile()
          Private declared Constructor, preventing the instantiation of the TempFile class.
 
Method Summary
static java.io.File createTempFile()
          Creates a File class instance, pointing to a newly created (empty) temporary file, which is located in the /opt/dbtutools tree.

Remark: The name of the temporary file is based on the following format: t<yyyymmddhhmmss>p<nnnn>n<n>.tmp The first token contains time and date; the next token represents the parent process id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempFile

private TempFile()
Private declared Constructor, preventing the instantiation of the TempFile class. ************************************************************************

Method Detail

createTempFile

public static java.io.File createTempFile()
                                   throws org.edelbyte.util.UnknownValueException,
                                          java.io.IOException
Creates a File class instance, pointing to a newly created (empty) temporary file, which is located in the /opt/dbtutools tree.

Remark: The name of the temporary file is based on the following format: t<yyyymmddhhmmss>p<nnnn>n<n>.tmp The first token contains time and date; the next token represents the parent process id. The last token is an additional number (most of the times zero) which is increased in a case of a conflicts with an already existing file.