org.apache.poi.util
Interface TempFileCreationStrategy
-
- All Known Implementing Classes:
- TempFile.DefaultTempFileCreationStrategy
public interface TempFileCreationStrategyInterface used by theTempFileutility class to create temporary files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.io.FilecreateTempFile(java.lang.String prefix, java.lang.String suffix)Creates a new and empty temporary file.
-
-
-
Method Detail
-
createTempFile
java.io.File createTempFile(java.lang.String prefix, java.lang.String suffix) throws java.io.IOExceptionCreates a new and empty temporary file.- Parameters:
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.- Returns:
- The path to the newly created and empty temporary file.
- Throws:
java.io.IOException- If no temporary file could be created.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG