|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensaml.artifact.URI
public class URI
A simple class to represent URIs.
| Constructor Summary | |
|---|---|
URI()
Constructor. |
|
URI(byte[] uri,
String encoding)
Constructor. |
|
URI(String uri)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(URI otherUri)
Checks to see if this URI is the same as the given URI |
String |
getURI()
Gets the URI as a string. |
void |
setURI(byte[] uri,
String encoding)
Sets the URI. |
void |
setURI(String uri)
Sets the URI. |
byte[] |
toBytes()
Gets the URI as an array of bytes. |
String |
toString()
Gets the URI as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URI()
public URI(String uri)
uri - the URI
public URI(byte[] uri,
String encoding)
throws UnsupportedEncodingException
uri - the URI in byte array formatencoding - the encoding to use when converting to a string
UnsupportedEncodingException - thrown if the encoding is not supported by the VM| Method Detail |
|---|
public String getURI()
public void setURI(String uri)
uri - the URI
public void setURI(byte[] uri,
String encoding)
throws UnsupportedEncodingException
uri - the URI in byte array formatencoding - the encoding to use when converting to a string
UnsupportedEncodingException - thrown if the encoding is not supported by the VMpublic String toString()
toString in class Objectpublic byte[] toBytes()
public boolean equals(URI otherUri)
otherUri - the other URI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||