Package | Description |
---|---|
de.tobiasroeser.lambdatest |
Modifier and Type | Method and Description |
---|---|
static <T> T |
TempFile.deleteAfter(File file,
FunctionWithException<File,T> f)
Apply
f to the given file file and delete the file after the function
returns. |
static <T> T |
TempFile.withTempDir(FunctionWithException<File,T> f)
Apply
f to a newly created temporary directory which is deleted after
f returns. |
static <T> T |
TempFile.withTempFile(String content,
FunctionWithException<File,T> f)
Creates a new temporary file with the given content
content . |
Copyright © 2019. All rights reserved.