| java.lang.Object org.apache.cocoon.util.SettingsHelper
SettingsHelper | public class SettingsHelper (Code) | | Helper class to create Stettings and for replacing property references with the value of the
property
version: $Id: SettingsHelper.java 433495 2006-08-22 04:04:11Z crossley $ since: 2.1.9 |
createSettings | public static void createSettings(DefaultContext context, Logger logger) throws ContextException(Code) | | Create the settings object
Parameters: context - The current context Parameters: logger - A logger to use to log any errors. throws: ContextException - |
getSettings | public static Settings getSettings(Context context)(Code) | | Return the Settings object
Parameters: context - The context The global Settings |
replace | public static String replace(String value, Settings settings, Logger logger)(Code) | | Replace all property references in the string with the current value
and return it.
|
|
|