URIUtils

Parse an authority string into Host and Port <p>Parse a string in the form "host:port", handling IPv4 an IPv6 hosts</p>

Members

Static functions

canonicalEncodedPath
string canonicalEncodedPath(string path)

Convert a path to a cananonical form. <p> All instances of "." and ".." are factored out. </p> <p> Null is returned if the path tries to .. above its root. </p>

canonicalPath
string canonicalPath(string path)

Convert a decoded path to a canonical form. <p> All instances of "." and ".." are factored out. </p> <p> Null is returned if the path tries to .. above its root. </p>

compactPath
string compactPath(string path)

Convert a path to a compact form. All instances of "//" and "///" etc. are factored out to single "/"

decodePath
string decodePath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
decodePath
string decodePath(string path, int offset, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
hasScheme
bool hasScheme(string uri)

@param uri URI @return True if the uri has a scheme

Meta