Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Object... args)
Format the implicitly given message by
this object with the default locale. |
java.lang.String |
formatWithLocale(java.util.Locale locale,
java.lang.Object... args)
Format the implicitly given message by
this object with the given locale. |
java.lang.String formatWithLocale(java.util.Locale locale, java.lang.Object... args)
this
object with the given locale.locale
- the locale to use for formatting .args
- the arguments to use for formatting. See MessageFormat.format(java.lang.String, java.lang.Object...)
.java.lang.String format(java.lang.Object... args)
this
object with the default locale.args
- the arguments to use for formatting. See MessageFormat.format(java.lang.String, java.lang.Object...)
.