public class ApplicationTemp
extends java.lang.Object
Constructor and Description |
---|
ApplicationTemp()
Create a new
ApplicationTemp instance. |
ApplicationTemp(java.lang.Class<?> sourceClass)
Create a new
ApplicationTemp instance for the specified source class. |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDir()
Return the directory to be used for application specific temp files.
|
java.io.File |
getDir(java.lang.String subDir)
Return a sub-directory of the application temp.
|
java.lang.String |
toString() |
public ApplicationTemp()
ApplicationTemp
instance.public ApplicationTemp(java.lang.Class<?> sourceClass)
ApplicationTemp
instance for the specified source class.sourceClass
- the source class or null
public java.lang.String toString()
toString
in class java.lang.Object
public java.io.File getDir(java.lang.String subDir)
subDir
- the sub-directory namepublic java.io.File getDir()