java.lang.Object | |
↳ | com.atlassian.jira.util.TempDirectoryUtil |
This util class was added to be able to create a "temporary" directory.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an empty directory in the default temporary-file directory, using the given prefix and suffix to generate its name.
| |||||||||||
Returns the system's temp directory.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Creates an empty directory in the default temporary-file directory, using the given prefix and suffix to generate its name.
Note: these directories will get deleted when the JVM exits.
prefix | The prefix string to be used in generating the directory's name. |
---|
File
object denoting a newly-created empty directory
Returns the system's temp directory.
Be aware that some operating systems place a trailing slash and others don't.