| java.lang.Object org.blojsom.plugin.statistics.WordCountPlugin
WordCountPlugin | public class WordCountPlugin implements Plugin(Code) | | Word Count plugin.
author: David Czarnecki since: blojsom 3.0 version: $Id: WordCountPlugin.java,v 1.2 2007/01/17 02:35:14 czarneckid Exp $ |
Inner Class :public class WordCountHelper | |
BLOJSOM_PLUGIN_WORD_COUNT_METADATA | final public static String BLOJSOM_PLUGIN_WORD_COUNT_METADATA(Code) | | |
WORD_COUNT_PLUGIN_HELPER | final public static String WORD_COUNT_PLUGIN_HELPER(Code) | | |
WordCountPlugin | public WordCountPlugin()(Code) | | Default constructor.
|
init | public void init() throws PluginException(Code) | | Initialize this plugin. This method only called when the plugin is instantiated.
Parameters: servletConfig - Servlet config object for the plugin to retrieve any initialization parameters Parameters: blojsomConfiguration - org.blojsom.blog.BlojsomConfiguration information throws: org.blojsom.plugin.PluginException - If there is an error initializing the plugin |
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 |
|
|