Class MLTextPropertyValue


  • public class MLTextPropertyValue
    extends PropertyValue
    Represents a multi-lingual property value, comprising a map from locale to string value
    Since:
    4.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addValue​(java.util.Locale locale, java.lang.String value)  
      java.util.Set<java.util.Locale> getLocales()  
      java.lang.String getValue​(java.util.Locale locale)  
      java.util.Map<java.util.Locale,​java.lang.String> getValues()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • MLTextPropertyValue

        public MLTextPropertyValue()
      • MLTextPropertyValue

        public MLTextPropertyValue​(java.util.Map<java.util.Locale,​java.lang.String> values)
    • Method Detail

      • addValue

        public void addValue​(java.util.Locale locale,
                             java.lang.String value)
      • getValues

        public java.util.Map<java.util.Locale,​java.lang.String> getValues()
      • getLocales

        public java.util.Set<java.util.Locale> getLocales()
      • getValue

        public java.lang.String getValue​(java.util.Locale locale)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object