public class PrintfStyleFormatter extends AbstractMessageFormatter
Formatter
ADDITIONAL_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, resolve
public PrintfStyleFormatter(Locale locale)
locale
- Locale for formatting numbers and datespublic String format(String message, Object[] arguments)
MessageFormatter
message
- Text message with placeholdersarguments
- Replacements for placeholdersCopyright © 2024. All rights reserved.