public class CurrentThreadSettings
extends java.lang.Object
Constructor and Description |
---|
CurrentThreadSettings() |
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.
|
public static final java.util.Locale getLocale()
public static final void setLocale(java.util.Locale locale)
locale
- The default Locale for current thread.com.aspose.ms.System.ArgumentException
- if locale does not supported.java.lang.NullPointerException
- if localName is null.public static final void setLocale(java.lang.String localeName)
localeName
- The default Locale for current thread.com.aspose.ms.System.ArgumentException
- if locale does not supported.java.lang.NullPointerException
- if localName is null or empty.