|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.SettingsHelper
public class SettingsHelper
Helper class to create Stettings and for replacing property references with the value of the property
Constructor Summary | |
---|---|
SettingsHelper()
|
Method Summary | |
---|---|
static void |
createSettings(DefaultContext context,
Logger logger)
Create the settings object |
static Settings |
getSettings(Context context)
Return the Settings object |
static String |
replace(String value,
Settings settings,
Logger logger)
Replace all property references in the string with the current value and return it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SettingsHelper()
Method Detail |
---|
public static void createSettings(DefaultContext context, Logger logger) throws ContextException
context
- The current contextlogger
- A logger to use to log any errors.
ContextException
public static Settings getSettings(Context context)
context
- The context
public static String replace(String value, Settings settings, Logger logger)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |