Class Translation


  • public class Translation
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Translation​(java.lang.String sourceTerm, java.util.Locale targetLocale, java.lang.String translation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Locale getLocale()
      Returns the locale of the translation
      java.lang.String getSourceTerm()  
      java.lang.String getTranslation()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Translation

        public Translation​(java.lang.String sourceTerm,
                           java.util.Locale targetLocale,
                           java.lang.String translation)
    • Method Detail

      • getSourceTerm

        public java.lang.String getSourceTerm()
      • getTranslation

        public java.lang.String getTranslation()
      • getLocale

        public java.util.Locale getLocale()
        Returns the locale of the translation