public class PropertyReplacer extends Object
| Constructor and Description |
|---|
PropertyReplacer() |
| Modifier and Type | Method and Description |
|---|---|
static String |
replaceProperties(String origString,
Properties props)
When a property is encountered in ${variable} form, traverse through the given Properties collection and
update it to the actual value.
|
public static String replaceProperties(String origString, Properties props)
origString - String key in the form of ${variable}props - Properties objectCopyright © 2015 WSO2. All rights reserved.