Class CreateTempFileAction
- java.lang.Object
-
- org.wildfly.security.manager.action.CreateTempFileAction
-
- All Implemented Interfaces:
PrivilegedExceptionAction<File>
public final class CreateTempFileAction extends Object implements PrivilegedExceptionAction<File>
A security action to create a temporary file.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description CreateTempFileAction(String suffix, String prefix)
Construct a new instance.CreateTempFileAction(String prefix, String suffix, File directory)
Construct a new instance.
-
-
-
Method Detail
-
run
public File run() throws IOException
- Specified by:
run
in interfacePrivilegedExceptionAction<File>
- Throws:
IOException
-
-