|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dpml.util.PropertyResolver
public final class PropertyResolver
Utility class that handles substitution of property names in the string for ${value} relative to a supplied set of properties.
Method Summary | |
---|---|
static Properties |
resolve(Properties properties)
System property symbol substitution from properties. |
static String |
resolve(Properties props,
String value)
Symbol substitution from properties. |
static String |
resolve(String value)
System property symbol substitution from properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String resolve(String value)
value
- a string containing possibly multiple ${[value]} sequences
public static Properties resolve(Properties properties)
properties
- an arbitary properties file containing unresolved properties
public static String resolve(Properties props, String value)
props
- the source properties from which substitution is resolvedvalue
- a string containing possibly multiple ${[value]} sequences
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |