com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class LocaleOptions



  • public class LocaleOptions
    extends Object

    LocaleOptions type specifies locale configuration for Aspose.Email.

    • Constructor Detail

      • LocaleOptions

        public LocaleOptions()
    • Method Detail

      • getLocale

        public static Locale getLocale()

        Returns default Locale for Aspose.Email.

        Returns:
        The default Locale for current thread.
      • setLocale

        public static void setLocale(Locale locale)

        Set default locale related for Aspose.Email.

        Parameters:
        locale - the default Locale.
      • setLocale

        public static void setLocale(String localeName)

        Set default locale related for Aspose.Email.

        Parameters:
        localeName - the default Locale Name.
      • clear

        public static void clear()

        Clears default locale for Aspose.Email. Will be used locale default for Java.