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 org.crosswire.common.util.MsgBase

Compile safe Msg resource settings.

Author:
DM Smith
See Also:
The GNU General Public License for details.

Field Summary
private static org.crosswire.common.util.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 org.crosswire.common.util.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-2015