Home > Contents > Index >
Utilities.createTempFile
Creates a temporary file.
Syntax
public static final File createTempFile(boolean bManageDelete)Parameters
bManageDelete
- Specifying
false
tells the method to delete the file as soon as the process exits. Specifyingtrue
tells the method to take no action on the temporary file. If you specifytrue
, then your code can decide to delete the file later on, if necessary.
Returns
A
File
object that represents the temporary file.
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.