public class Messages
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static LocalizableSupport |
localizableSupport
The localizable support for the error messages.
|
protected static java.lang.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 java.lang.String |
formatMessage(java.lang.String key,
java.lang.Object[] args)
Implements
Localizable.formatMessage(String,Object[]) . |
static java.util.Locale |
getLocale()
Implements
Localizable.getLocale() . |
static void |
setLocale(java.util.Locale l)
Implements
Localizable.setLocale(Locale) . |
protected static final java.lang.String RESOURCES
protected static LocalizableSupport localizableSupport
public static void setLocale(java.util.Locale l)
Localizable.setLocale(Locale)
.public static java.util.Locale getLocale()
Localizable.getLocale()
.public static java.lang.String formatMessage(java.lang.String key, java.lang.Object[] args) throws java.util.MissingResourceException
Localizable.formatMessage(String,Object[])
.java.util.MissingResourceException
Copyright © 2022 Apache Software Foundation. All Rights Reserved.