|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.model.Enclosure
public class 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 java.lang.String |
length
|
private java.lang.String |
type
|
private java.lang.String |
url
|
| Constructor Summary | |
|---|---|
Enclosure()
Default Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLength(boolean formatted)
Get the length of the enclosure |
java.lang.String |
getType()
Get the type of the enclosure |
java.lang.String |
getUrl()
Get the URL of the enclosure |
void |
setLength(java.lang.String length)
Set the feedSize for the enclosure |
void |
setType(java.lang.String type)
Set the type of the enclosure |
void |
setUrl(java.lang.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 java.lang.String length
private java.lang.String type
private java.lang.String url
| Constructor Detail |
|---|
public Enclosure()
| Method Detail |
|---|
public java.lang.String getLength(boolean formatted)
formatted - If TRUE return length formatted
public java.lang.String getType()
public java.lang.String getUrl()
public void setLength(java.lang.String length)
length - public void setType(java.lang.String type)
type - public void setUrl(java.lang.String url)
url -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||