org.gvsig.i18n.templates
Class MessagesTemplate

java.lang.Object
  extended byorg.gvsig.i18n.templates.MessagesTemplate

public class MessagesTemplate
extends java.lang.Object

Bridge class to provide internationalization services to the library. It uses the gvsig-i18n library as a backend, and includes its necessary initialization.

Author:
Cesar Martinez Izquierdo

Constructor Summary
MessagesTemplate()
           
 
Method Summary
static java.lang.String getText(java.lang.String key)
          Gets the translation associated with the provided translation key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagesTemplate

public MessagesTemplate()
Method Detail

getText

public static java.lang.String getText(java.lang.String key)
Gets the translation associated with the provided translation key.

Parameters:
key - The translation key which identifies the target text
Returns:
The translation associated with the provided translation key.