public interface I18nMessageFormatter
StringFormatI18nMessageFormatter,
MessageFormatI18nMessageFormatter| Modifier and Type | Method and Description |
|---|---|
String |
format(Locale locale,
String message,
Object... args)
Format a given
message with locale and optinal args. |
String format(Locale locale, String message, Object... args)
message with locale and optinal args.
The main purpose is to replace placeholders in message with
args value.
This may depend on locale for date purpose for example.locale - locale to use for formatting (number, date, ...)message - message to format (that contains placeholders)args - object array to use in formatting the messageCopyright © 2004–2022 Code Lutin. All rights reserved.