SwiftWriter
public class TextWriter extends Object
Constructor and Description |
---|
TextWriter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
buildMessage(String template,
Object env)
Deprecated.
Creates a string with a swift message for the given object.
|
public String buildMessage(String template, Object env)
template
- a valid path to the resourceenv
- the object to use to render the messageIllegalArgumentException
- if template is null
or the the template resource is not found in classpath