Class CreateTempFileAction
java.lang.Object
org.wildfly.security.manager.action.CreateTempFileAction
- All Implemented Interfaces:
PrivilegedExceptionAction<File>
A security action to create a temporary file.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionCreateTempFileAction(String suffix, String prefix) Construct a new instance.CreateTempFileAction(String prefix, String suffix, File directory) Construct a new instance. -
Method Summary
-
Constructor Details
-
CreateTempFileAction
Construct a new instance.- Parameters:
prefix- the prefix to setsuffix- the suffix to setdirectory- the directory
-
CreateTempFileAction
Construct a new instance.- Parameters:
prefix- the prefix to setsuffix- the suffix to set
-
-
Method Details
-
run
- Specified by:
runin interfacePrivilegedExceptionAction<File>- Throws:
IOException
-