public final class CreateTempFileAction extends Object implements PrivilegedExceptionAction<File>
Constructor and Description |
---|
CreateTempFileAction(String suffix,
String prefix)
Construct a new instance.
|
CreateTempFileAction(String prefix,
String suffix,
File directory)
Construct a new instance.
|
public CreateTempFileAction(String prefix, String suffix, File directory)
prefix
- the prefix to setsuffix
- the suffix to setdirectory
- the directorypublic File run() throws IOException
run
in interface PrivilegedExceptionAction<File>
IOException
Copyright © 2020 JBoss by Red Hat. All rights reserved.