File.isDirectory

File.isDirectory

Class Overview | Class Members | This Package | All Packages

Syntax
public boolean isDirectory()
Returns
true if this File exists and is a directory; false otherwise.
Description
Tests if the file represented by this File object is a directory.

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