public class MessageConstructor extends Object
| Constructor and Description |
|---|
MessageConstructor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getNamedText(String template,
Object... vars)
Construct a message with a template and a series of variables names / values.
|
static Set<String> |
getNamesDeclarations(String template)
Return the names declarations in a template.
|
static String |
getText(String template,
Object... vars)
Construct a message with a template and a series of variables.
|
public static String getText(String template, Object... vars)
template - the templatevars - the variablespublic static Set<String> getNamesDeclarations(String template)
template - the template