Class Lang

    • Constructor Detail

      • Lang

        public Lang​()
      • Lang

        public Lang​(java.lang.String lang)
        Parameters:
        lang - eg: fr
      • Lang

        public Lang​(java.util.Locale locale)
        Parameters:
        lang - eg: fr
    • Method Detail

      • init

        protected void init​()
        invokes only once per object
        Since:
        1.0.0
      • setValue

        public void setValue​(java.lang.String lang)
        Parameters:
        lang - eg: fr
        Since:
        1.0.0
      • getValue

        public java.lang.String getValue​()
        Returns:
        the language name, eg: fr
        Since:
        1.0.0
      • getLocale

        public java.util.Locale getLocale​()
        Returns:
        the corresponding locale for the language
        Since:
        1.0.0