public interface MultiformatMessage extends Message
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getFormats()
Returns the supported formats.
|
java.lang.String |
getFormattedMessage(java.lang.String[] formats)
Returns the Message formatted as a String.
|
getFormat, getFormattedMessage, getParameters, getThrowable
java.lang.String getFormattedMessage(java.lang.String[] formats)
formats
- An array of Strings that provide extra information about how to format the message.
Each MultiformatMessage implementation is free to use the provided formats however they choose.java.lang.String[] getFormats()