public interface TempFileCreationStrategy
TempFile utility class to create temporary files.| Modifier and Type | Method and Description |
|---|---|
java.io.File |
createTempFile(java.lang.String prefix,
java.lang.String suffix)
Creates a new and empty temporary file.
|
java.io.File createTempFile(java.lang.String prefix,
java.lang.String suffix)
throws java.io.IOException
prefix - The prefix to be used to generate the name of the temporary file.suffix - The suffix to be used to generate the name of the temporary file.java.io.IOException - If no temporary file could be created.Copyright 2017 The Apache Software Foundation or its licensors, as applicable.