Top Methods
com.rometools.rome.feed.synd

public Interface SyndEnclosure

extends Cloneable, CopyFrom
Known Direct Implementers
com.rometools.rome.feed.synd.SyndEnclosureImpl
Imports
com.rometools.rome.feed.CopyFrom

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the enclosure length, 0 if none.
getLength
()

Returns the enclosure length.

public String

Returns:

the enclosure type, null if none.
getType
()

Returns the enclosure type.

public String

Returns:

the enclosure URL, null if none.
getUrl
()

Returns the enclosure URL.

public void
setLength(long
the enclosure length to set, 0 if none.
length
)

Sets the enclosure length.

public void
setType(String
the enclosure type to set, null if none.
type
)

Sets the enclosure type.

public void
setUrl(String
the enclosure URL to set, null if none.
url
)

Sets the enclosure URL.

Inherited from com.rometools.rome.feed.CopyFrom:
copyFromgetInterface

Method Detail

getLengthback to summary
public long getLength()

Returns the enclosure length.

Returns:long

the enclosure length, 0 if none.

getTypeback to summary
public String getType()

Returns the enclosure type.

Returns:String

the enclosure type, null if none.

getUrlback to summary
public String getUrl()

Returns the enclosure URL.

Returns:String

the enclosure URL, null if none.

setLengthback to summary
public void setLength(long length)

Sets the enclosure length.

Parameters
length:long

the enclosure length to set, 0 if none.

setTypeback to summary
public void setType(String type)

Sets the enclosure type.

Parameters
type:String

the enclosure type to set, null if none.

setUrlback to summary
public void setUrl(String url)

Sets the enclosure URL.

Parameters
url:String

the enclosure URL to set, null if none.