etf.org/rfc/rfc2396.txt">RFC 2396, "Resolving Relative References to Absolute Form."
During resolution, empty segments, self references ("."), and parent references ("..") are interpreted, so that they can be removed from the path. Step 6(g) gives a choice of how to handle the case where parent references point to a path above the root: the offending segments can be preserved or discarded. This method preserves them. To have them discarded, please use the two-parameter form of {@link #resolve(URI,boolean) resolve}.
@exception java.lang.IllegalArgumentException if base
isnon-hierarchical or is relative.