File.exists
Class Overview | Class Members |
This Package |
All Packages
public boolean exists()
Returns
true if the file specified by this object
exists; false otherwise.
Description
Tests if this File exists.
Exceptions
SecurityException
if a security manager exists, its
checkRead method is called with the pathname
of this File to see if the application is
allowed read access to the file.
See Also
getPath, checkRead