Package io.jmix.ui.substitutor
Interface StringSubstitutor
- All Known Implementing Classes:
JavaStringSubstitutor
public interface StringSubstitutor
Substitutes variables within a string by values.
-
Method Summary
-
Method Details
-
substitute
Substitutes all the occurrences of variables in the given source object with their matching values from the map.- Parameters:
source
- the source text containing the variables to substitutevaluesMap
- the map with the values- Returns:
- the result of the replace operation
-