Tests if this path ends with a Path, constructed by converting
the given path string, in exactly the manner specified by the endsWith(Path) method. On UNIX for example, the path
" foo/bar" ends with " foo/bar" and " bar". It does
not end with " r" or " /bar". Note that trailing separators
are not taken into account, and so invoking this method on the
Path" foo/bar" with the String " bar/" returns
true.
other
| the given path string |
true if this path ends with the given path; otherwise
false
InvalidPathException
| If the path string cannot be converted to a Path. |
@implSpec The default implementation is equivalent for this path to:
endsWith(getFileSystem().getPath(other));
Diagram: Path