|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.macromedia.rssu.RssType
com.macromedia.rssu.Enclosure
Enclosure describes a media object that is attached to the item. It has three required attributes. url says where the enclosure is located, length says how big it is in bytes, and type says what its type is, a standard MIME type
| Constructor Summary | |
Enclosure()
|
|
Enclosure(java.lang.String url,
long length,
java.lang.String type)
|
|
| Method Summary | |
long |
getLength()
Access the property "length" on this instance of Enclosure. |
java.lang.String |
getType()
Access the property "type" on this instance of Enclosure. |
java.lang.String |
getUrl()
Access the property "url" on this instance of Enclosure. |
void |
setLength(long length)
Set the property "length" on this instance of Enclosure. |
void |
setType(java.lang.String type)
Set the property "type" on this instance of Enclosure. |
void |
setUrl(java.lang.String url)
Set the property "url" on this instance of Enclosure. |
| Methods inherited from class com.macromedia.rssu.RssType |
getProperty, setProperty, setProperty, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Enclosure()
public Enclosure(java.lang.String url,
long length,
java.lang.String type)
| Method Detail |
public void setUrl(java.lang.String url)
url - is the value of url to usepublic java.lang.String getUrl()
public void setLength(long length)
length - is the value of length to usepublic long getLength()
public void setType(java.lang.String type)
type - is the value of type to usepublic java.lang.String getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||