Overview | Methods | This Package | All Packages
Determines whether the specified path contains a root.
Syntax
public static boolean isRooted( String path )
Parameters
path
The path to test.
Return Value
Returns true if the path contains a root; otherwise, returns false.
Remarks
A path is considered to contain a root if it starts with either a backslash (\) or with a drive letter and a colon (:).
See Also getRoot