Package loci.poi.util
Class TempFile
- java.lang.Object
-
- loci.poi.util.TempFile
-
public class TempFile extends Object
Interface for creating temporary files. Collects them all into one directory.- Author:
- Glen Stampoultzis
-
-
Constructor Summary
Constructors Constructor Description TempFile()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
createTempFile(String prefix, String suffix)
Creates a temporary file.
-
-
-
Method Detail
-
createTempFile
public static File createTempFile(String prefix, String suffix) throws IOException
Creates a temporary file. Files are collected into one directory and by default are deleted on exit from the VM. Files can be kept by defining the system propertypoi.keep.tmp.files
.Dont forget to close all files or it might not be possible to delete them.
- Throws:
IOException
-
-