org.crosswire.common.swing
Class CWMsg

java.lang.Object
  extended by org.crosswire.common.util.MsgBase
      extended by 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.

Field Summary
private static MsgBase msg
           
 
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
 

Field Detail

msg

private static MsgBase msg
Constructor Detail

CWMsg

public CWMsg()
Method Detail

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

Copyright ? 2003-2011