All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.syndication.feed.synd.SyndEnclosure Maven / Gradle / Ivy

There is a newer version: 3.1.0-incubating
Show newest version
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); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy