public class TempFileHelper extends Object
| Constructor and Description |
|---|
TempFileHelper() |
| Modifier and Type | Method and Description |
|---|---|
static File |
getTempDir(String prefix,
String suffix)
Creates a temporary directory that can be used for tests.
|
public static File getTempDir(String prefix, String suffix) throws IOException
prefix - a prefix for the directory namesuffix - a suffix for the directory nameFile pointing to the generated directoryIOException - If an error occurs when creating the directoryCopyright © 2017–2019. All rights reserved.