public final class LocaleHolder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
clearUserLocale()
Clears the user locale on the currently set LocaleHolder
|
static ILocaleHolder |
getInstance()
Gets the instance of the currently set value holder.
|
static java.util.Locale |
getUserLocale() |
static void |
setInstance(ILocaleHolder localeProvider)
The the instance of the value holder.
|
static void |
setUserLocale(java.util.Locale userLocale)
Sets the user locale on the currently set LocaleHolder
|
public static void setInstance(ILocaleHolder localeProvider)
localeProvider
- The locale provider to setpublic static java.util.Locale getUserLocale()
public static void setUserLocale(java.util.Locale userLocale)
userLocale
- The locale to set, may be nullpublic static void clearUserLocale()
public static ILocaleHolder getInstance()
Siehe auch Jowidgets Nutzerhandbuch