Package org.deeplearning4j.common.util
Class ND4JFileUtils
- java.lang.Object
-
- org.deeplearning4j.common.util.ND4JFileUtils
-
public class ND4JFileUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilecreateTempFile(String prefix, String suffix)Create a temporary file in the location specified byDL4JSystemProperties.DL4J_TEMP_DIR_PROPERTYif set, or the default temporary directory (usually specified by java.io.tmpdir system property)
-
-
-
Method Detail
-
createTempFile
public static File createTempFile(String prefix, String suffix)
Create a temporary file in the location specified byDL4JSystemProperties.DL4J_TEMP_DIR_PROPERTYif set, or the default temporary directory (usually specified by java.io.tmpdir system property)- Parameters:
prefix- Prefix for generating file's name; must be at least 3 characeterssuffix- Suffix for generating file's name; may be null (".tmp" will be used if null)- Returns:
- A temporary file
-
-