com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class CurrentThreadSettings

  • java.lang.Object
    • com.aspose.slides.CurrentThreadSettings


  • public class CurrentThreadSettings
    extends java.lang.Object
    Auxiliary class that allows to define default Locale for current thread
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.Locale getLocale()
      Returns default Locale for current thread.
      static void setLocale(java.util.Locale locale)
      Sets default Locale for current thread.
      static void setLocale(java.lang.String localeName)
      Sets default Locale for current thread.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CurrentThreadSettings

        public CurrentThreadSettings()
    • Method Detail

      • getLocale

        public static final java.util.Locale getLocale()
        Returns default Locale for current thread.
        Returns:
        Current Locale
      • setLocale

        public static final void setLocale(java.util.Locale locale)
        Sets default Locale for current thread.
        Parameters:
        locale - The default Locale for current thread.
        Throws:
        com.aspose.ms.System.ArgumentException - if locale does not supported.
        java.lang.NullPointerException - if localName is null.
      • setLocale

        public static final void setLocale(java.lang.String localeName)
        Sets default Locale for current thread.
        Parameters:
        localeName - The default Locale for current thread.
        Throws:
        com.aspose.ms.System.ArgumentException - if locale does not supported.
        java.lang.NullPointerException - if localName is null or empty.