com.ibm.able
Class AbleTraceMsg
java.lang.Object
|
+--java.util.ResourceBundle
|
+--java.util.ListResourceBundle
|
+--com.ibm.able.AbleTraceMsg
- public class AbleTraceMsg
- extends java.util.ListResourceBundle
This class contains trace messages for Able which need not be translated.
They are externalized simply because they are used in multiple places.
Fields inherited from class java.util.ResourceBundle |
parent |
Method Summary |
protected java.lang.Object[][] |
getContents()
|
static java.lang.String |
msg(java.lang.String theMsgKey)
Retrieve a message by key. |
static java.lang.String |
msg(java.lang.String theMsgKey,
java.lang.Object[] theInserts)
Retrieve a message by key and insert text into the
message. |
Methods inherited from class java.util.ListResourceBundle |
getKeys, handleGetObject |
Methods inherited from class java.util.ResourceBundle |
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbleTraceMsg
public AbleTraceMsg()
getContents
protected java.lang.Object[][] getContents()
- Overrides:
getContents
in class java.util.ListResourceBundle
msg
public static java.lang.String msg(java.lang.String theMsgKey)
- Retrieve a message by key. The message must not contain any
insertion text.
- Parameters:
theMsgKey
- A unique key identifying the message to be retrieved
from the package's MessageBundle.
- Returns:
- A String containing the requested message.
msg
public static java.lang.String msg(java.lang.String theMsgKey,
java.lang.Object[] theInserts)
- Retrieve a message by key and insert text into the
message.
- Parameters:
theMsgKey
- A unique key identifying the message to be retrieved
from the package's MessageBundle.
theInserts
- An array of String objects which will be inserted
into the message before it is returned.
- Returns:
- A String containing the requested message.
(C) Copyright IBM Corporation 1999, 2003