File.isDirectory

Overview | Methods | This Package | All Packages

File.isDirectory

Determines whether the specified path refers to a directory.

Syntax

public static boolean isDirectory( String path )

Parameters

path

The path to test.

Return Value

Returns true if the path refers to a directory; otherwise, returns false.

See Also   exists, isFile