public interface MultiformatMessage extends Message
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFormats()
Returns the supported formats.
|
String |
getFormattedMessage(String[] formats)
Returns the Message formatted as a String.
|
getFormat, getFormattedMessage, getParameters, getThrowableString getFormattedMessage(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.String[] getFormats()
Copyright © 2006-2016 OPS4J - Open Participation Software for Java. All Rights Reserved.