public interface Localizable
The message is implicitly given by this
object and can
contain formatting similar to the MessageFormat
class.
Messages
,
Messages
Modifier and Type | Method and Description |
---|---|
String |
format(Object... args)
Format the implicitly given message by
this object with the default locale. |
String |
formatWithLocale(Locale locale,
Object... args)
Format the implicitly given message by
this object with the given locale. |
String formatWithLocale(Locale locale, 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...)
.String format(Object... args)
this
object with the default locale.args
- the arguments to use for formatting. See MessageFormat.format(java.lang.String, java.lang.Object...)
.Copyright © 2003–2017 Kohsuke Kawaguchi. All rights reserved.