|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.module.mediarss.types.UrlReference
public class UrlReference
Used to indicate a URL primary reference for a MediaContent object.
Constructor Summary | |
---|---|
UrlReference(java.lang.String url)
Creates a new instance of UrlReference |
|
UrlReference(java.net.URI url)
Creates a new UrlReference. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.net.URI |
getUrl()
Returns the URL value |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UrlReference(java.net.URI url)
url
- URL to the media sourcepublic UrlReference(java.lang.String url) throws java.net.URISyntaxException
url
- String value of a URL
java.net.MalformedURLException
- thrown on bad URLs
java.net.URISyntaxException
Method Detail |
---|
public java.net.URI getUrl()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |