public interface StringSubstitutor
| 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.
|
java.lang.String substitute(java.lang.String source,
java.util.Map<java.lang.String,java.lang.Object> valuesMap)
source - the source text containing the variables to substitutevaluesMap - the map with the values