posted 18 years ago
java.io.File;
From the API:
"public boolean exists()Tests whether the file or directory denoted by this abstract pathname exists.
"public boolean canRead()Tests whether the application can read the file denoted by this abstract pathname.
One tests whether or not the file is there and the other tests whether or not it can be read (for instance that the file does not have a lock on it and can actually be read)...