Java java.net URI fields, constructors, methods, implement or subclass

Example usage for Java java.net URI fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.net URI.

The text is from its open source code.

Constructor

URI(String str)
Constructs a URI by parsing the given string.
URI(String scheme, String authority, String path, String query, String fragment)
Constructs a hierarchical URI from the given components.
URI(String scheme, String ssp, String fragment)
Constructs a URI from the given components.
URI(String scheme, String host, String path, String fragment)
Constructs a hierarchical URI from the given components.
URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment)
Constructs a hierarchical URI from the given components.

Method

intcompareTo(URI that)
Compares this URI to another object, which must be a URI.
URIcreate(String str)
Creates a URI by parsing the given string.
booleanequals(Object ob)
Tests this URI for equality with another object.
StringgetAuthority()
Returns the decoded authority component of this URI.
StringgetFragment()
Returns the decoded fragment component of this URI.
StringgetHost()
Returns the host component of this URI.
StringgetPath()
Returns the decoded path component of this URI.
intgetPort()
Returns the port number of this URI.
StringgetQuery()
Returns the decoded query component of this URI.
StringgetRawAuthority()
Returns the raw authority component of this URI.
StringgetRawFragment()
Returns the raw fragment component of this URI.
StringgetRawPath()
Returns the raw path component of this URI.
StringgetRawQuery()
Returns the raw query component of this URI.
StringgetRawSchemeSpecificPart()
Returns the raw scheme-specific part of this URI.
StringgetRawUserInfo()
Returns the raw user-information component of this URI.
StringgetScheme()
Returns the scheme component of this URI.
StringgetSchemeSpecificPart()
Returns the decoded scheme-specific part of this URI.
StringgetUserInfo()
Returns the decoded user-information component of this URI.
inthashCode()
Returns a hash-code value for this URI.
booleanisAbsolute()
Tells whether or not this URI is absolute.
booleanisOpaque()
Tells whether or not this URI is opaque.
URInormalize()
Normalizes this URI's path.
URIparseServerAuthority()
Attempts to parse this URI's authority component, if defined, into user-information, host, and port components.
URIrelativize(URI uri)
Relativizes the given URI against this URI.
URIresolve(URI uri)
Resolves the given URI against this URI.
URIresolve(String str)
Constructs a new URI by parsing the given string and then resolving it against this URI.
StringtoASCIIString()
Returns the content of this URI as a US-ASCII string.
StringtoString()
Returns the content of this URI as a string.
URLtoURL()
Constructs a URL from this URI.