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:
The GNU Lesser General Public License for details.
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
- the formatted key to internationalizeparams
- the parameters to use in creating the message
- Returns:
- the formatted, internationalized text