CurrentThreadSettings
CurrentThreadSettings class
Auxiliary class that allows to define default Locale for current thread
CurrentThreadSettings
Name | Description |
---|---|
CurrentThreadSettings() |
Returns: CurrentThreadSettings
getLocale
Name | Description |
---|---|
getLocale () | Returns default Locale for current thread. |
Returns: Locale
setLocale
Name | Description |
---|---|
setLocale (Locale) | Sets default Locale for current thread. |
Parameters:
Name | Type | Description |
---|---|---|
locale | Locale | The default Locale for current thread. |
Returns: void
Exception
Error | Condition |
---|---|
NullPointerException | if localName is null. |
setLocale
Name | Description |
---|---|
setLocale (String) | Sets default Locale for current thread. |
Parameters:
Name | Type | Description |
---|---|---|
localeName | String | The default Locale for current thread. |
Returns: void
Exception
Error | Condition |
---|---|
NullPointerException | if localName is null or empty. |