Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-03


oracle.dss.util.xdo.common.tmp
Class TmpFile

java.lang.Object
  extended by oracle.dss.util.xdo.common.tmp.TmpFile


public class TmpFile
extends java.lang.Object

Temporary File routines ex) File f1 = TmpFile.createTmpFile( "xdo", ".jpg", "d:\\tmp" );


Field Summary
static java.lang.String RCS_ID
           

 

Constructor Summary
TmpFile()
           

 

Method Summary
static java.io.File createTmpFile(java.lang.String prefix, java.lang.String suffix, java.lang.String dir)
          Create a new empty file in the specified directory, using the given prefix and suffix strings to generate its name.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values

Constructor Detail

TmpFile

public TmpFile()

Method Detail

createTmpFile

public static java.io.File createTmpFile(java.lang.String prefix,
                                         java.lang.String suffix,
                                         java.lang.String dir)
                                  throws java.io.IOException
Create a new empty file in the specified directory, using the given prefix and suffix strings to generate its name.
Parameters:
prefix - The prefix string to be used in generating the file's name
suffix - The suffix string to be used in generating the file's name; may be null, in which case the suffix ".tmp" will be used
dir - The directory in which the file is to be created null if the default temporary-file directory is to be used
Returns:
a file or null if failed
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-03


Copyright © 1997, 2009, Oracle. All rights reserved.