| java.lang.Object org.clapper.curn.ConfiguredOutputHandler
ConfiguredOutputHandler | public class ConfiguredOutputHandler implements Comparable(Code) | | Contains parsed configuration information for an output handler,
including the class name and output handler name (which is really the
section name).
See Also: CurnConfig See Also: Curn version: $Revision: 7041 $ |
ConfiguredOutputHandler | public ConfiguredOutputHandler(String name, String sectionName, String className)(Code) | | Construct a new ConfiguredOutputHandler object.
Parameters: name - a unique name for the handler Parameters: sectionName - the name of the configuration file sectionwhere the output handler was defined, or nullif the handler has no corresponding section Parameters: className - the output handler's class name |
addExtraVariable | void addExtraVariable(String name, String value)(Code) | | Add an extra variable to the list of extra variables.
Parameters: name - the variable name Parameters: value - the value |
compareTo | public int compareTo(Object o) throws ClassCastException(Code) | | Compares this object with the specified object for order. Returns a
negative integer, zero, or a positive integer as this object is less
than, equal to, or greater than the specified object.
Parameters: o - the object to compare a negative integer, zero, or a positive integer as this objectis less than, equal to, or greater than the specified object. throws: ClassCastException - if the specified object's type preventsit from being compared to this Object. |
getClassName | public String getClassName()(Code) | | Get the class name associated with this output handler
the class name |
getExtraVariables | public Map getExtraVariables()(Code) | | Get the extra variables defined with this output handler.
a Map of variables. The map is keyed by variablename, and each entry is a variable value. The Mapwill be empty, but never null, if there are no extra variablesfor this output handler. |
getName | public String getName()(Code) | | Get the unique name for this handler
the unique name. Should never be null. |
getOutputHandler | public synchronized OutputHandler getOutputHandler() throws CurnException(Code) | | Get the actual OutputHandler object, instantiating it if
it hasn't already been instantiated.
the OutputHandler object throws: CurnException - on error |
getSectionName | public String getSectionName()(Code) | | Get the configuration file section name where this output handler
was defined
the section name, or null for none |
|
|