Class Translation.Entry

java.lang.Object
com.priint.pubserver.lang.Translation.Entry
All Implemented Interfaces:
Serializable
Enclosing class:
Translation

public static class Translation.Entry extends Object implements Serializable
Translation entry associating a language with a localized text.
See Also:
  • Constructor Details

    • Entry

      public Entry()
    • Entry

      public Entry(String lang, String value)
  • Method Details

    • newInstance

      public static Translation.Entry newInstance(String lang, String value)
      Create a new translation entry
      Parameters:
      lang - language code (two letter code, ex. de, en, jp, fr
      value - translation
      Returns:
      entry
    • getLang

      public String getLang()
    • setLang

      public void setLang(String lang)
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • toString

      public String toString()
      Overrides:
      toString in class Object