|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.rss.Enclosure
Bean for item enclosures of RSS feeds.
Constructor Summary | |
Enclosure()
Default constructor. |
Method Summary | |
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
long |
getLength()
Returns the enclosure length. |
java.lang.String |
getType()
Returns the enclosure type. |
java.lang.String |
getUrl()
Returns the enclosure URL. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setLength(long length)
Sets the enclosure length. |
void |
setType(java.lang.String type)
Sets the enclosure type. |
void |
setUrl(java.lang.String url)
Sets the enclosure URL. |
java.lang.String |
toString()
Returns the String representation for the object. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Enclosure()
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
other
- he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
public java.lang.String toString()
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the enclosure URL to set, null if none.public long getLength()
public void setLength(long length)
length
- the enclosure length to set, null if none.public java.lang.String getType()
public void setType(java.lang.String type)
type
- the enclosure type to set, null if none.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |