|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.cimclient.internal.logging.MessageLoader
public final class MessageLoader
Class MessageLoader encapsulates the access to the resource file containing log messages.
| Method Summary | |
|---|---|
static java.util.logging.Level |
getLevel(java.lang.String pKey)
Returns the level of a given message id based on the naming convention. |
static java.lang.String |
getLocalizedMessage(java.lang.String pKey)
Returns the localized message for a given key. |
static java.lang.String |
getMessage(java.lang.String pKey)
Returns the English message for a given key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getMessage(java.lang.String pKey)
pKey - The key
public static java.lang.String getLocalizedMessage(java.lang.String pKey)
pKey - The key
public static java.util.logging.Level getLevel(java.lang.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 id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||