|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.tempfile.TempFile
public class TempFile
Field Summary | |
---|---|
static java.lang.String |
BASE_TEMP_DIR
The location of our temp directory. |
static int |
MAX_TEMP_FILES
The maximum number of temp files before we think that there's an error. |
Constructor Summary | |
---|---|
TempFile()
|
Method Summary | |
---|---|
static java.lang.String |
CreateTempFile(java.lang.String strSubDirectory,
java.lang.String strFilePrefix,
java.lang.String strFileExtension,
int nExpireFilesOlderThanMinutes)
This is how we create a temp file. |
static void |
ExpireTempFiles(java.lang.String strSubDirectory,
int nExpireFilesOlderThanMinutes)
This function expires (read deletes) files that were last modified more than nExpireFilesOlderThanMinutes ago from the strSubDirectory of the base temp directory. |
static void |
StaticInit(java.lang.String strTempHome)
Initializes our static variables for future use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String BASE_TEMP_DIR
public static final int MAX_TEMP_FILES
Constructor Detail |
---|
public TempFile()
Method Detail |
---|
public static java.lang.String CreateTempFile(java.lang.String strSubDirectory, java.lang.String strFilePrefix, java.lang.String strFileExtension, int nExpireFilesOlderThanMinutes)
public static void ExpireTempFiles(java.lang.String strSubDirectory, int nExpireFilesOlderThanMinutes)
public static void StaticInit(java.lang.String strTempHome)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |