public final class ThreadLocalLocaleHolder extends java.lang.Object implements ILocaleHolder
Constructor and Description |
---|
ThreadLocalLocaleHolder() |
Modifier and Type | Method and Description |
---|---|
void |
clearUserLocale()
Clears the current user locale
|
java.util.Locale |
getUserLocale()
Gets the current user locale.
|
void |
setUserLocale(java.util.Locale userLocale)
Sets the current user locale.
|
public java.util.Locale getUserLocale()
ILocaleHolder
getUserLocale
in interface ILocaleHolder
public void setUserLocale(java.util.Locale userLocale)
ILocaleHolder
setUserLocale
in interface ILocaleHolder
userLocale
- The user locale to set, may be null. If set to null, the default locale will be usedpublic void clearUserLocale()
ILocaleHolder
clearUserLocale
in interface ILocaleHolder
Siehe auch Jowidgets Nutzerhandbuch