| java.lang.Object | |
| ↳ | java.net.URI |
This class represents an instance of a URI as defined by RFC 2396.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison.
| |||||||||||
Returns the fragment component.
| |||||||||||
Returns the host component.
| |||||||||||
Returns the path component.
| |||||||||||
Returns the port number.
| |||||||||||
Returns the query component.
| |||||||||||
Returns the authority component in raw form.
| |||||||||||
Returns the fragment component in raw form.
| |||||||||||
Returns the path component in raw form.
| |||||||||||
Returns the query component in raw form.
| |||||||||||
Returns the scheme-specific part component in raw form.
| |||||||||||
Returns the user-info component in raw form.
| |||||||||||
Returns the scheme.
| |||||||||||
Returns the scheme-specific part component.
| |||||||||||
Returns the userinfo.
| |||||||||||
Returns an integer hash code for the receiver.
| |||||||||||
Indicates whether this URI is absolute
| |||||||||||
Indicates whether this URI is opaque
| |||||||||||
Return this uri instance if it has already been determined as a
ServerAuthority Otherwise try to parse it again as a server authority to
produce a URISyntaxException with the proper diagnostic message.
| |||||||||||
Returns a string containing a concise, human-readable description of the
receiver.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface java.lang.Comparable
| |||||||||||
| URISyntaxException |
|---|
| URISyntaxException |
|---|
| URISyntaxException |
|---|
| URISyntaxException |
|---|
| URISyntaxException |
|---|
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. The implementation in Object returns true only if the argument is the exact same object as the receiver (==).
| o | Object the object to compare with this object. |
|---|
true if the object is the same as this
object false if it is different from this object.Returns the fragment component.
Returns the host component.
Returns the path component.
Returns the port number.
Returns the query component.
Returns the authority component in raw form.
Returns the fragment component in raw form.
Returns the path component in raw form.
Returns the query component in raw form.
Returns the scheme-specific part component in raw form.
Returns the user-info component in raw form.
Returns the scheme.
Returns the scheme-specific part component.
Returns the userinfo.
Returns an integer hash code for the receiver. Any two objects which
answer true when passed to .equals must
answer the same value for this method.
Indicates whether this URI is absolute
Indicates whether this URI is opaque
Return this uri instance if it has already been determined as a ServerAuthority Otherwise try to parse it again as a server authority to produce a URISyntaxException with the proper diagnostic message.
| URISyntaxException |
|---|
Returns a string containing a concise, human-readable description of the receiver.
| MalformedURLException |
|---|