public class ApplicationTemp extends Object
Constructor and Description |
---|
ApplicationTemp()
Create a new
ApplicationTemp instance. |
ApplicationTemp(Class<?> sourceClass)
Create a new
ApplicationTemp instance for the specified source class. |
Modifier and Type | Method and Description |
---|---|
File |
getDir()
Return the directory to be used for application specific temp files.
|
File |
getDir(String subDir)
Return a sub-directory of the application temp.
|
String |
toString() |
public ApplicationTemp()
ApplicationTemp
instance.public ApplicationTemp(Class<?> sourceClass)
ApplicationTemp
instance for the specified source class.sourceClass
- the source class or null
public File getDir(String subDir)
subDir
- the sub-directory namepublic File getDir()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.