public class LegacyMessageFormatter extends AbstractMessageFormatter
Unlike MessageFormat, there are no argument indices in placeholders. Instead, the order of arguments counts.
ADDITIONAL_STRING_BUILDER_CAPACITY| Constructor and Description |
|---|
LegacyMessageFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(String message,
Object[] arguments)
Formats a text message.
|
resolve, resolvepublic String format(String message, Object[] arguments)
MessageFormattermessage - Text message with placeholdersarguments - Replacements for placeholdersCopyright © 2020. All rights reserved.