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, resolve
public String format(String message, Object[] arguments)
MessageFormatter
message
- Text message with placeholdersarguments
- Replacements for placeholdersCopyright © 2024. All rights reserved.