org.crosswire.jsword
Class JSMsg
java.lang.Object
org.crosswire.common.util.MsgBase
org.crosswire.jsword.JSMsg
public final class JSMsg
- extends MsgBase
Compile safe Msg resource settings.
- Author:
- DM Smith
- See Also:
for license details.
The copyright to this program is held by it's authors.
Constructor Summary |
JSMsg()
|
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
JSMsg
public JSMsg()
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