com.sun.syndication.feed.synd.SyndEnclosure Maven / Gradle / Ivy
package com.sun.syndication.feed.synd;
import com.sun.syndication.feed.CopyFrom;
/**
* @author Alejandro Abdelnur
*/
public interface SyndEnclosure extends Cloneable, CopyFrom {
/**
* Returns the enclosure URL.
*
* @return the enclosure URL, null if none.
*
*/
public String getUrl();
/**
* Sets the enclosure URL.
*
* @param url the enclosure URL to set, null if none.
*
*/
public void setUrl(String url);
/**
* Returns the enclosure length.
*
* @return the enclosure length, 0 if none.
*
*/
public long getLength();
/**
* Sets the enclosure length.
*
* @param length the enclosure length to set, 0 if none.
*
*/
public void setLength(long length);
/**
* Returns the enclosure type.
*
* @return the enclosure type, null if none.
*
*/
public String getType();
/**
* Sets the enclosure type.
*
* @param type the enclosure type to set, null if none.
*
*/
public void setType(String type);
}