A new temporary Directory
. TemporaryDirectory
s may be used within resource
expressions:
try (tempDirectory = temporaryDirectory.TemporaryDirectory()) { // ... }
If possible, a TemporaryDirectory
will be deleted upon invocation of its
Destroyable.destroy()
method.
no subtypes hierarchy
Initializer |
TemporaryDirectory(String? prefix) Parameters:
Throws
|
Inherited Attributes |
Attributes inherited from: Object |
Attributes inherited from: Directory |
Attributes inherited from: ExistingResource |
Attributes inherited from: Resource |
Inherited Methods |
Methods inherited from: Object |
Methods inherited from: Destroyable |
Methods inherited from: Directory |
Methods inherited from: ExistingResource |