public class Messages extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static LocalizableSupport |
localizableSupport
The localizable support for the error messages.
|
protected static String |
RESOURCES
The error messages bundle class name.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Messages()
This class does not need to be instantiated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
formatMessage(String key,
Object[] args)
Implements
Localizable.formatMessage(String,Object[]). |
static Locale |
getLocale()
Implements
Localizable.getLocale(). |
static void |
setLocale(Locale l)
Implements
Localizable.setLocale(Locale). |
protected static final String RESOURCES
protected static LocalizableSupport localizableSupport
public static void setLocale(Locale l)
Localizable.setLocale(Locale).public static Locale getLocale()
Localizable.getLocale().public static String formatMessage(String key, Object[] args) throws MissingResourceException
Localizable.formatMessage(String,Object[]).MissingResourceExceptionCopyright © 2000–2020 Apache Software Foundation. All rights reserved.