Class TranslationTermsMessage


  • public class TranslationTermsMessage
    extends java.lang.Object
    Message sent to the perspective client containing information about the localization terms available for a locale.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String locale
      The IETF code for the locale (i.e.
      static java.lang.String PROTOCOL  
      java.util.Map<java.lang.String,​java.lang.String> terms  
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslationTermsMessage​(java.lang.String locale, java.util.Map<java.lang.String,​java.lang.String> terms)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • locale

        public final java.lang.String locale
        The IETF code for the locale (i.e. - not the Locale.toString() version, but rather the Locale.forLanguageTag() and toLanguageTag() versions.)
      • terms

        public final java.util.Map<java.lang.String,​java.lang.String> terms
    • Constructor Detail

      • TranslationTermsMessage

        public TranslationTermsMessage​(java.lang.String locale,
                                       java.util.Map<java.lang.String,​java.lang.String> terms)