public class StrSubstitutor
Constructor and description |
---|
StrSubstitutor
() |
StrSubstitutor
(Map<String, Object> variables) |
Type Params | Return Type | Name and description |
---|---|---|
|
public String |
replace(String str) Use GStringTemplateEngine to convert a template string into a string with variable values. |
|
public String |
replaceUsingSimpleSubstitutor(String str) |
Use GStringTemplateEngine to convert a template string into a string with variable values.
str
- A template string