Package com.rometools.rome.feed.synd
Interface SyndEnclosure
-
- All Known Implementing Classes:
SyndEnclosureImpl
public interface SyndEnclosure extends Cloneable, CopyFrom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetLength()Returns the enclosure length.StringgetType()Returns the enclosure type.StringgetUrl()Returns the enclosure URL.voidsetLength(long length)Sets the enclosure length.voidsetType(String type)Sets the enclosure type.voidsetUrl(String url)Sets the enclosure URL.-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
getUrl
String getUrl()
Returns the enclosure URL.- Returns:
- the enclosure URL, null if none.
-
setUrl
void setUrl(String url)
Sets the enclosure URL.- Parameters:
url- the enclosure URL to set, null if none.
-
getLength
long getLength()
Returns the enclosure length.- Returns:
- the enclosure length, 0 if none.
-
setLength
void setLength(long length)
Sets the enclosure length.- Parameters:
length- the enclosure length to set, 0 if none.
-
getType
String getType()
Returns the enclosure type.- Returns:
- the enclosure type, null if none.
-
setType
void setType(String type)
Sets the enclosure type.- Parameters:
type- the enclosure type to set, null if none.
-
-