org.crosswire.common.swing
Class CWMsg
java.lang.Object
org.crosswire.common.util.MsgBase
org.crosswire.common.swing.CWMsg
public final class CWMsg
- extends MsgBase
Compile safe Msg resource settings.
- Author:
- DM Smith [dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Constructor Summary |
CWMsg()
|
Method Summary |
static String |
gettext(String key,
Object... params)
Get the internationalized text, but return key if key is unknown. |
Methods inherited from class org.crosswire.common.util.MsgBase |
lookup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
msg
private static MsgBase msg
CWMsg
public CWMsg()
gettext
public static String gettext(String key,
Object... params)
- Get the internationalized text, but return key if key is unknown.
The text requires one or more parameters to be passed.
- Parameters:
key
- params
-
- Returns:
- the formatted, internationalized text