org.cresques
Class Messages

java.lang.Object
  extended by org.cresques.Messages

public class Messages
extends 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
Messages()
           
 
Method Summary
static String getText(String key)
          Gets the translation associated with the provided translation key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messages

public Messages()
Method Detail

getText

public static String getText(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.


Copyright © 2004-2013 gvSIG. All Rights Reserved.