| |
|
| java.lang.Object org.blojsom.plugin.common.RSSEnclosurePlugin
RSSEnclosurePlugin | public class RSSEnclosurePlugin implements Plugin,Listener(Code) | | RSSEnclosurePlugin
author: David Czarnecki version: $Id: RSSEnclosurePlugin.java,v 1.6 2007/01/17 02:35:09 czarneckid Exp $ since: blojsom 3.0 |
Inner Class :public class RSSEnclosure | |
DEFAULT_MIME_TYPE | final public static String DEFAULT_MIME_TYPE(Code) | | |
METADATA_ESS_ENCLOSURE_OBJECT | final public static String METADATA_ESS_ENCLOSURE_OBJECT(Code) | | |
METADATA_RSS_ENCLOSURE | final public static String METADATA_RSS_ENCLOSURE(Code) | | |
MIME_TYPE_XMPEG | final protected static String MIME_TYPE_XMPEG(Code) | | |
MIME_TYPE_XMPEGURL | final protected static String MIME_TYPE_XMPEGURL(Code) | | |
RSS_ENCLOSURE_LENGTH | final public static String RSS_ENCLOSURE_LENGTH(Code) | | |
RSS_ENCLOSURE_TYPE | final public static String RSS_ENCLOSURE_TYPE(Code) | | |
RSS_ENCLOSURE_URL | final public static String RSS_ENCLOSURE_URL(Code) | | |
_enclosuresDirectory | protected String _enclosuresDirectory(Code) | | |
RSSEnclosurePlugin | public RSSEnclosurePlugin()(Code) | | Default constructor
|
addAdditionalMimeTypes | protected void addAdditionalMimeTypes(MimetypesFileTypeMap mimeTypes)(Code) | | Add additional mime types to the map
Parameters: mimeTypes - Mime types map |
discoverEnclosureProperties | protected String[] discoverEnclosureProperties(String rssEnclosureURL)(Code) | | Discover the content length and content type for an enclosure URL
Parameters: rssEnclosureURL - URL for enclosure String array containing the enclosure's content length and content type |
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
setBlojsomProperties | public void setBlojsomProperties(Properties blojsomProperties)(Code) | | Set the default blojsom properties
Parameters: blojsomProperties - Default blojsom properties |
setEnclosuresDirectory | public void setEnclosuresDirectory(String enclosuresDirectory)(Code) | | Set the directory for enclosures
Parameters: enclosuresDirectory - Enclosures directory |
|
|
|