com.sun.syndication.feed.synd

Interface SyndEnclosure

public interface SyndEnclosure extends Cloneable, CopyFrom

Author: Alejandro Abdelnur

Method Summary
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.

Method Detail

getLength

public long getLength()
Returns the enclosure length.

Returns: the enclosure length, null if none.

getType

public String getType()
Returns the enclosure type.

Returns: the enclosure type, null if none.

getUrl

public String getUrl()
Returns the enclosure URL.

Returns: the enclosure URL, null if none.

setLength

public void setLength(long length)
Sets the enclosure length.

Parameters: length the enclosure length to set, null if none.

setType

public void setType(String type)
Sets the enclosure type.

Parameters: type the enclosure type to set, null if none.

setUrl

public void setUrl(String url)
Sets the enclosure URL.

Parameters: url the enclosure URL to set, null if none.

Copyright © Sun Microsystems. All Rights Reserved.