|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.configuration.PropertyHelper
Helper class for replacing property references with the value of the property.
| Constructor Summary | |
PropertyHelper()
|
|
| Method Summary | |
static String |
getProperty(String key,
Properties properties,
Settings settings)
Return the value of the property. |
static String |
replace(String value,
Properties properties,
Settings settings)
Replace all property references in the string with the current value and return it. |
static String |
replace(String value,
Settings settings)
Replace all property references in the string with the current value and return it. |
static void |
replaceAll(Properties props,
Settings settings)
Replace all references in the values contained in the properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyHelper()
| Method Detail |
public static String replace(String value,
Settings settings)
public static String replace(String value,
Properties properties,
Settings settings)
public static String getProperty(String key,
Properties properties,
Settings settings)
key - The key for the property.properties - A set of properties.settings - A settings object.
public static void replaceAll(Properties props,
Settings settings)
props - settings -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||