com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class CurrentThreadSettings



  • public class CurrentThreadSettings
    extends Object

    Auxiliary class that allows to define default Locale for current thread

    • Constructor Detail

      • CurrentThreadSettings

        public CurrentThreadSettings()
    • Method Detail

      • getLocale

        public static Locale getLocale()

        Returns default Locale for current thread.

        Returns:
        The default Locale for current thread.
      • setLocale

        public static void setLocale(Locale locale)

        Sets default Locale for current thread.

        Parameters:
        locale - the default Locale for current thread.
      • setLocale

        public static void setLocale(String localeName)

        Sets default Locale for current thread.

        Parameters:
        localeName - the default Locale for current thread.