public class PrintfStyleFormatter extends AbstractMessageFormatter
FormatterADDITIONAL_STRING_BUILDER_CAPACITY| Constructor and Description |
|---|
PrintfStyleFormatter(Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(String message,
Object[] arguments)
Formats a text message.
|
resolve, resolvepublic PrintfStyleFormatter(Locale locale)
locale - Locale for formatting numbers and datespublic String format(String message, Object[] arguments)
MessageFormattermessage - Text message with placeholdersarguments - Replacements for placeholdersCopyright © 2020. All rights reserved.