@Component(value="ui_StringSubstitutor") public class JavaStringSubstitutor extends java.lang.Object implements StringSubstitutor
${variableName}.| Constructor and Description |
|---|
JavaStringSubstitutor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
substitute(java.lang.String source,
java.util.Map<java.lang.String,java.lang.Object> valuesMap)
Substitutes all the occurrences of variables in the given source object with their matching values from the map.
|
public java.lang.String substitute(java.lang.String source,
java.util.Map<java.lang.String,java.lang.Object> valuesMap)
StringSubstitutorsubstitute in interface StringSubstitutorsource - the source text containing the variables to substitutevaluesMap - the map with the values