|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.utils.TempFileManager
public class TempFileManager
Manages temporary file system resources for deegree.
This class ensures that each running deegree application (e.g. a service webapp or a command line application) uses a separate directory for storing temporary resources. For webapps, the webapp context name is used to build a unique directory.
| Constructor Summary | |
|---|---|
TempFileManager()
|
|
| Method Summary | |
|---|---|
static java.io.File |
getBaseDir()
Returns the base directory to be used for storing temporary files. |
static void |
init()
Initializes the TempFileManager to use a random String for creating unique temporary file names. |
static void |
init(java.lang.String contextId)
Initializes the TempFileManager to use the given String for creating unique temporary file names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TempFileManager()
| Method Detail |
|---|
public static void init(java.lang.String contextId)
TempFileManager to use the given String for creating unique temporary file names.
contextId - string to use for the unique file names, must not be nullpublic static void init()
TempFileManager to use a random String for creating unique temporary file names.
public static java.io.File getBaseDir()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||