|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stellent.cis.common.classloader.IsolatedJarClassLoader.TemporaryFileManager
public static class IsolatedJarClassLoader.TemporaryFileManager
Constructor Summary | |
---|---|
IsolatedJarClassLoader.TemporaryFileManager()
|
Method Summary | |
---|---|
static java.io.File |
createTempFile(java.lang.String prefix,
java.lang.String suffix)
Creates a temporary file in the proper directory to allow for cleanup after execution. |
static void |
initialize()
Used to clean up any old temp directories found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IsolatedJarClassLoader.TemporaryFileManager()
Method Detail |
---|
public static java.io.File createTempFile(java.lang.String prefix, java.lang.String suffix) throws java.io.IOException
File.createTempFile(java.lang.String, java.lang.String, java.io.File)
so
refer to it for more documentation. Any file created using this method
should be considered as deleted at JVM exit; therefore, do not use this
method to create files that need to be persistent between application
runs.
prefix
- the prefix string used in generating the file name;
must be at least three characters longsuffix
- the suffix string to be used in generating the file's
name; may be null, in which case the suffix ".tmp" will be used
java.io.IOException
- if a file could not be createdpublic static void initialize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |