|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sauronsoftware.feed4j.bean.RawElement
it.sauronsoftware.feed4j.bean.FeedEnclosure
public class FeedEnclosure
This class is used to represent a feed enclosure.
Constructor Summary | |
---|---|
FeedEnclosure()
|
Method Summary | |
---|---|
long |
getLength()
This method returns the enclosure size in bytes, or -1 if the information is not available. |
java.lang.String |
getMimeType()
This method returns the enclosure MIME type. |
java.lang.String |
getTitle()
This method returns the enclosure title, or null if the information is not available. |
java.net.URL |
getURL()
This method returns the URL for the enclosure retrieval. |
void |
setLength(long length)
This method sets the enclosure size in bytes. |
void |
setMimeType(java.lang.String mimeType)
This method sets the enclosure MIME type. |
void |
setTitle(java.lang.String title)
This method sets the enclosure title. |
void |
setURL(java.net.URL url)
This method sets the URL for the enclosure retrieval. |
Methods inherited from class it.sauronsoftware.feed4j.bean.RawElement |
---|
addAttribute, addNode, getAttribute, getAttributeCount, getAttributeValue, getElement, getElements, getElementValue, getName, getNamespaceURI, getNode, getNodeCount, getValue, removeNode, setName, setNamespaceURI, setValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeedEnclosure()
Method Detail |
---|
public long getLength()
public void setLength(long length)
length
- The enclosure size in bytes.public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
mimeType
- The enclosure MIME type.public java.net.URL getURL()
public void setURL(java.net.URL url)
url
- The URL for the enclosure retrieval.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- The enclosure title
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |