Class LocaleSupport

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Locale locale  
    • Constructor Summary

      Constructors 
      Constructor Description
      LocaleSupport()
      Constructs a new LocaleSupport.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLocale()
      Returns the configured locale, or the default if not explicitly configured.
      void setLocale​(java.lang.String localeString)
      Sets the locale.
      • Methods inherited from class java.lang.Object

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

      • locale

        protected java.util.Locale locale
    • Constructor Detail

      • LocaleSupport

        public LocaleSupport()
        Constructs a new LocaleSupport.
    • Method Detail

      • getLocale

        public java.lang.String getLocale()
        Returns the configured locale, or the default if not explicitly configured.
        Returns:
        the configured locale
      • setLocale

        public void setLocale​(java.lang.String localeString)
        Sets the locale.
        Parameters:
        localeString - the locale (e.g. en_US)