@FunctionalInterface
public interface TemporaryDirectoryFactory
TemporaryDirectory.newSystemTemporaryDirectory() conforms to this interface.| Modifier and Type | Method and Description |
|---|---|
static TemporaryDirectoryFactory |
fixed(java.io.File directory)
Obtains a factory that creates temporary directories using
TemporaryDirectory.fixed(File). |
TemporaryDirectory |
make()
Creates a new temporary directory.
|
TemporaryDirectory make() throws java.io.IOException
java.io.IOException - failed to create the temporary directorystatic TemporaryDirectoryFactory fixed(java.io.File directory)
TemporaryDirectory.fixed(File).directory - the directory where all temporary files will be createdTemporaryDirectory that creates all files
inside directory