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, getThrowable
String 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 © 2021 JBoss by Red Hat. All rights reserved.