de.tabacha.cgo.gui
Class I18n

java.lang.Object
  extended byde.tabacha.cgo.gui.I18n

public class I18n
extends java.lang.Object

Helper class to retrieve localized information for GUI.
$Id: I18n.java,v 1.5 2004/12/23 21:42:44 mk Exp $

Version:
$Revision: 1.5 $
Threadsafe?
false

Constructor Summary
I18n()
           
 
Method Summary
static java.lang.String get(java.lang.String key)
          Returns the translated message.
static java.lang.String get(java.lang.String key, java.lang.Object[] arguments)
          Returns the translated message with applied parameters.
static java.lang.String get(java.lang.String key, java.lang.String argument)
          Returns the translated message with the parameter applied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18n

public I18n()
Method Detail

get

public static java.lang.String get(java.lang.String key)
Returns the translated message.


get

public static java.lang.String get(java.lang.String key,
                                   java.lang.Object[] arguments)
Returns the translated message with applied parameters.

See Also:
MessageFormat

get

public static java.lang.String get(java.lang.String key,
                                   java.lang.String argument)
Returns the translated message with the parameter applied.

See Also:
MessageFormat