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