CurrentThreadSettings

CurrentThreadSettings class

Auxiliary class that allows to define default Locale for current thread

CurrentThreadSettings

NameDescription
CurrentThreadSettings()

Returns: CurrentThreadSettings


getLocale

NameDescription
getLocale ()Returns default Locale for current thread.

Returns: Locale


setLocale

NameDescription
setLocale (Locale)Sets default Locale for current thread.

Parameters:

NameTypeDescription
localeLocaleThe default Locale for current thread.

Returns: void

Exception

ErrorCondition
NullPointerExceptionif localName is null.

setLocale

NameDescription
setLocale (String)Sets default Locale for current thread.

Parameters:

NameTypeDescription
localeNameStringThe default Locale for current thread.

Returns: void

Exception

ErrorCondition
NullPointerExceptionif localName is null or empty.