/** * Constructs a new path from the given string path. * * <p>The string path must represent a valid file system path on the local file system. * * <p>The path is canonicalized and double slashes are removed except at the beginning. (to handle * UNC paths). All forward slashes ('/') are treated as segment delimiters, and any segment and * device delimiters for the local file system are also respected (such as colon (':') and * backslash ('\') on some file systems). * * @param fullPath the string path * @see #isValidPath(String) */ public Path(String fullPath) { initialize(fullPath); }