|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.model.Enclosure
Model for a Enclosure. A newsitem may contain one ore more enclosures (e.g. link to a mp3 or other file)
Field Summary | |
private String |
length
|
private String |
type
|
private String |
url
|
Constructor Summary | |
Enclosure()
Default Constructor. |
Method Summary | |
String |
getLength(boolean formatted)
Get the length of the enclosure |
String |
getType()
Get the type of the enclosure |
String |
getUrl()
Get the URL of the enclosure |
void |
setLength(String length)
Set the feedSize for the enclosure |
void |
setType(String type)
Set the type of the enclosure |
void |
setUrl(String url)
Set the enclosure of the enclosure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String length
private String type
private String url
Constructor Detail |
public Enclosure()
Method Detail |
public String getLength(boolean formatted)
formatted
- If TRUE return length formatted
public String getType()
public String getUrl()
public void setLength(String length)
length
- public void setType(String type)
type
- public void setUrl(String url)
url
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |