Modifier and Type | Method and Description |
---|---|
static URI |
URI.create(java.lang.String str)
Creates a URI by parsing the given string.
|
URI |
URI.normalize()
Normalizes this URI's path.
|
URI |
URI.parseServerAuthority()
Attempts to parse this URI's authority component, if defined, into user-information, host, and port components.
|
URI |
URI.relativize(URI uri)
Relativizes the given URI against this URI.
|
URI |
URI.resolve(java.lang.String str)
Constructs a new URI by parsing the given string and then resolving it against this URI.
|
URI |
URI.resolve(URI uri)
Resolves the given URI against this URI.
|
Modifier and Type | Method and Description |
---|---|
int |
URI.compareTo(URI that)
Compares this URI to another object, which must be a URI.
|
URI |
URI.relativize(URI uri)
Relativizes the given URI against this URI.
|
URI |
URI.resolve(URI uri)
Resolves the given URI against this URI.
|