Package java.io
Class File

Public Method createNewFile

boolean createNewFile()

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Creates a new, empty file named by the abstract pathname if and only if a file with this name does not yet exist.

Returns true if the named file does not exist and was successfully created; false if the named file already exists.

Note that any directories required must exist otherwise there will be an IOException.