com.sun.syndication.feed.rss
public class Enclosure extends Object implements Cloneable, Serializable
| Field Summary | |
|---|---|
| long | _length |
| ObjectBean | _objBean |
| String | _type |
| String | _url |
| Constructor Summary | |
|---|---|
| Enclosure()
Default constructor. | |
| Method Summary | |
|---|---|
| Object | clone()
Creates a deep 'bean' clone of the object.
|
| boolean | equals(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.
|
| String | getType()
Returns the enclosure type.
|
| 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(String type)
Sets the enclosure type.
|
| void | setUrl(String url)
Sets the enclosure URL.
|
| String | toString()
Returns the String representation for the object.
|
Returns: a clone of the object.
Throws: CloneNotSupportedException thrown if an element of the object cannot be cloned.
Parameters: other he reference object with which to compare.
Returns: true if 'this' object is equal to the 'other' object.
Returns: the enclosure length, null if none.
Returns: the enclosure type, null if none.
Returns: the enclosure URL, null if none.
It follows the contract defined by the Object hashCode() method.
Returns: the hashcode of the bean object.
Parameters: length the enclosure length to set, null if none.
Parameters: type the enclosure type to set, null if none.
Parameters: url the enclosure URL to set, null if none.
Returns: String representation for the object.