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