Class MessagesTemplate

java.lang.Object
org.gvsig.i18n.templates.MessagesTemplate

public class MessagesTemplate 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 Details

    • MessagesTemplate

      public MessagesTemplate()
  • Method Details

    • 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.