@ThreadSafe public final class TempFileProvider extends java.lang.Object implements ITempFileProvider
ITempFileProvider.| Constructor and Description |
|---|
TempFileProvider(java.io.File tempFolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAll()
Attempts to delete all temp files created by this class.
|
java.io.File |
newTempFile() |
public void deleteAll()
ITempFileProviderdeleteAll in interface ITempFileProviderpublic java.io.File newTempFile()
throws java.io.IOException
newTempFile in interface ITempFileProviderjava.io.IOException - If the temporary file couldn't be created.