public class TemporaryDirectoryAllocator extends Object
Constructor and Description |
---|
TemporaryDirectoryAllocator() |
TemporaryDirectoryAllocator(File base)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
File |
allocate()
Allocates a new empty temporary directory and returns it.
|
void |
dispose()
Deletes all allocated temporary directories.
|
void |
disposeAsync()
Deletes all allocated temporary directories asynchronously.
|
@Deprecated public TemporaryDirectoryAllocator(File base)
public TemporaryDirectoryAllocator()
public File allocate() throws IOException
TemporaryDirectoryAllocator
gets disposed.
When this method returns, the directory already exists.IOException
public void dispose() throws IOException, InterruptedException
IOException
InterruptedException
public void disposeAsync()
Copyright © 2004–2022. All rights reserved.