|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbbc.rd.tvanytime.URI
public class URI
URI: Represents a URI Java 1.1 does not contain java.net.URI, so we need to write our own (very simple) for compatability with this java version.
| Constructor Summary | |
|---|---|
URI()
Constructor for objects of type URI |
|
URI(java.lang.String uri)
Constructor for objects of type URI with required fields. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones itself. |
boolean |
equals(java.lang.Object obj)
Are these URIs equal? |
java.lang.String |
getURI()
Get the URI |
void |
setURI(java.lang.String uri)
Set the URI. |
java.lang.String |
toString()
Returns string representation of this object. |
java.lang.String |
toString(int indent)
Returns string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URI()
public URI(java.lang.String uri)
throws TVAnytimeException
uri - string representation of the URI (e.g. "ftp://bbc.co.uk/21837")
TVAnytimeException - thrown when URI starts with invalid pattern| Method Detail |
|---|
public java.lang.String getURI()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objecturi - The possibly null URI to be compared
public void setURI(java.lang.String uri)
throws TVAnytimeException
uri - the URI as a String
TVAnytimeExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(int indent)
indent - number of tabs to put before the string.
public java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||