Determines whether the specified path contains a root.
public static boolean isRooted( String path )
path
The path to test.
Returns true if the path contains a root; otherwise, returns false.
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