Interface ThreadLocale

    • Method Detail

      • setLocale

        void setLocale(Locale locale)
        Updates the locale for the current thread.
        Parameters:
        locale - the new locale (may not be null)
      • getLocale

        Locale getLocale()
        Returns the thread's locale, which will be the JVM's default locale, until setLocale(Locale) is invoked.
        Returns:
        the thread's locale