|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.configuration.PropertyUtils
public class PropertyUtils
Based on code in Apache Ant, this utility class handles property expansion. This is most useful in config files and so on.
Constructor Summary | |
---|---|
PropertyUtils()
|
Method Summary | |
---|---|
static java.lang.String |
replaceProperties(java.lang.String value)
Replaces ${xxx} style constructions in the given value
with the string value of the corresponding data types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyUtils()
Method Detail |
---|
public static java.lang.String replaceProperties(java.lang.String value) throws PropertyException
${xxx}
style constructions in the given value
with the string value of the corresponding data types. Replaces only system
properties
value
- The string to be scanned for property references.
May be null
, in which case this
method returns immediately with no effect.
null
if the original string is null
.
PropertyException
- if the string contains an opening
${
without a closing
}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |