public final class MessageLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Level |
getLevel(String pKey)
Returns the level of a given message id based on the naming convention.
|
static String |
getLocalizedMessage(String pKey)
Returns the localized message for a given key.
|
static String |
getMessage(String pKey)
Returns the English message for a given key.
|
public static String getMessage(String pKey)
pKey - The keypublic static String getLocalizedMessage(String pKey)
pKey - The keypublic static Level getLevel(String pKey)
CIM<unique 4 digit id><level token>, e.g.
CIM1234S. Valid level tokens are S, W, I and
C for SEVERE, WARNING, INFO and
CONFIG respectively.pKey - The message idCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.