Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.renderer.util
Class RendererUtil

java.lang.Object
  extended by com.jivesoftware.forum.renderer.util.RendererUtil

public class RendererUtil
extends java.lang.Object

Utility methods useful for render filters and macros.


Method Summary
static java.lang.String[] loadFilterHelp(java.lang.Class clazz, java.lang.String language)
          Helper method for loading filter help from text files somewhere in the classpath.
static java.lang.String processTagRules(java.util.List rules, java.util.List filters, java.lang.String string)
          Utility method for executing the html processor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadFilterHelp

public static java.lang.String[] loadFilterHelp(java.lang.Class clazz,
                                                java.lang.String language)
Helper method for loading filter help from text files somewhere in the classpath.

Parameters:
clazz - the filter class
language - the language to load the macro help for
Returns:
[section, title, body] or null if unable to load the help

processTagRules

public static java.lang.String processTagRules(java.util.List rules,
                                               java.util.List filters,
                                               java.lang.String string)
                                        throws java.io.IOException
Utility method for executing the html processor.

Parameters:
rules - the list of TagRule objects to process with
filters - the list of TextFilter objects to filter with
string - the string to process
Returns:
the processed string
Throws:
java.io.IOException - if an exception occurr

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.