File.delete

Overview | Methods | This Package | All Packages

File.delete

Deletes a file.

Syntax

public static void delete( String path )

Parameters

path

The path of the file to delete.

Exceptions

WinIOException thrown if an error occurs.

Remarks

The file specified by the designated path is deleted. It is not an error if the specified file does not exist.