|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.chwf.i18n.UserLocale
A class for storing and retrieving the user's locale in the
UserRegistry.
| Field Summary | |
static java.util.Locale |
DEFAULT_LOCALE
The default locale (the system default). |
| Constructor Summary | |
UserLocale()
|
|
| Method Summary | |
static java.util.Locale |
getLocale()
Get locale. |
static void |
setLocale(java.util.Locale locale)
Set the user's locale. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.util.Locale DEFAULT_LOCALE
| Constructor Detail |
public UserLocale()
| Method Detail |
public static java.util.Locale getLocale()
DEFAULT_LOCALE.
public static void setLocale(java.util.Locale locale)
throws RegistryException
locale - The locale.RegistryException - If the user registry is not initialized.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||