com.acsinet_solutions.util.text
Class GlobalMessages
java.lang.Object
com.acsinet_solutions.util.text.GlobalMessages
public final class GlobalMessages
- extends java.lang.Object
Utility class that provides messages for utility exception classes.
In the global messages resource bundle, all keys are prepended by
"cetia4" to avoid name collitions.
- Author:
- Santiago Arriaga
|
Field Summary |
static java.lang.String |
GLOBAL_PATH
Global messages resource bundle, currently offering support in
english and spanish only, but obviously extensible. |
static MessageFactory |
MESSAGE_FACTORY
Static message factory instance that holds the keys of the global
messages instance. |
|
Method Summary |
static java.lang.String |
getMessage(java.lang.String key,
java.lang.Object... args)
Get a localized message, with optional argument list |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLOBAL_PATH
public static final java.lang.String GLOBAL_PATH
- Global messages resource bundle, currently offering support in
english and spanish only, but obviously extensible.
- See Also:
- Constant Field Values
MESSAGE_FACTORY
public static final MessageFactory MESSAGE_FACTORY
- Static message factory instance that holds the keys of the global
messages instance.
GlobalMessages
public GlobalMessages()
getMessage
public static final java.lang.String getMessage(java.lang.String key,
java.lang.Object... args)
- Get a localized message, with optional argument list