Package | Description |
---|---|
org.apache.river.api.net |
Modifier and Type | Method and Description |
---|---|
static Uri |
Uri.create(String rfc3986compliantURI)
Parses the given argument
rfc3986compliantURI and creates an appropriate URI
instance. |
static Uri |
Uri.escapeAndCreate(String unescapedString)
The parameter string doesn't contain any existing escape sequences, any
escape character % found is encoded as %25.
|
static Uri |
Uri.filePathToUri(String path) |
static Uri |
Uri.fileToUri(File file) |
Uri |
Uri.normalize()
Normalizes the path part of this URI.
|
static Uri |
Uri.parseAndCreate(String nonCompliantEscapedString)
The parameter string may already contain escaped sequences, any illegal
characters are escaped and any that shouldn't be escaped are un-escaped.
|
Uri |
Uri.parseServerAuthority()
Tries to parse the authority component of this URI to divide it into the
host, port, and user-info.
|
Uri |
Uri.relativize(Uri relative)
Makes the given URI
relative to a relative URI against the URI
represented by this instance. |
Uri |
Uri.resolve(String relative)
Creates a new URI instance by parsing the given string
relative
and resolves the created URI against the URI represented by this
instance. |
Uri |
Uri.resolve(Uri relative)
Resolves the given URI
relative against the URI represented by
this instance. |
static Uri |
Uri.urlToUri(URL url) |
Modifier and Type | Method and Description |
---|---|
int |
Uri.compareTo(Uri uri)
Compares this URI with the given argument
uri . |
boolean |
Uri.implies(Uri implied)
Indicates whether the specified Uri is implied by this
Uri . |
Uri |
Uri.relativize(Uri relative)
Makes the given URI
relative to a relative URI against the URI
represented by this instance. |
Uri |
Uri.resolve(Uri relative)
Resolves the given URI
relative against the URI represented by
this instance. |
static File |
Uri.uriToFile(Uri uri) |
static URI |
Uri.uriToURI(Uri uri) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.