from Uri
Create a new path from a URI.
Return
the new path
Parameters
uri
the URI
Throws
if the URI doesn't have a scheme, or the path component of the URI is empty or relative.
Create a new path from a URI.
the new path
the URI
if the URI doesn't have a scheme, or the path component of the URI is empty or relative.