File.exists

Overview | Methods | This Package | All Packages

File.exists

Determines whether a file exists.

Syntax

public static boolean exists( String path )

Parameters

path

The path of the file to test.

Return Value

Returns true if the file specified by the designated path exists; otherwise, returns false.