public class TextUtils
extends java.lang.Object
Constructor and Description |
---|
TextUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
substituteVar(java.lang.String template,
java.lang.String name,
java.lang.Object value)
Find matches of variables in the format {Name:Format} and replace them with the specified
value formatted using String.format with the specified Format.
|
public static java.lang.String substituteVar(java.lang.String template, java.lang.String name, java.lang.Object value)