Returns a {@link Path java.nio.file.Path} object constructed from thethis abstract path. The resulting {@code Path} is associated with the{@link java.nio.file.FileSystems#getDefault default-filesystem}.
The first invocation of this method works as if invoking it were equivalent to evaluating the expression:
{@link java.nio.file.FileSystems#getDefault FileSystems.getDefault}(). {@link java.nio.file.FileSystem#getPath getPath}(this. {@link #getPath getPath}());
Subsequent invocations of this method return the same {@code Path}.
If this abstract pathname is the empty abstract pathname then this method returns a {@code Path} that may be used to access the currentuser directory.
@return a {@code Path} constructed from this abstract path
@throws java.nio.file.InvalidPathException if a {@code Path} object cannot be constructed from the abstractpath (see {@link java.nio.file.FileSystem#getPath FileSystem.getPath})
@since 1.7
@see Path#toFile