|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.i18n.client.LocaleInfo
public class LocaleInfo
Provides access to the currently-active locale and the list of available locales.
Constructor Summary | |
---|---|
protected |
LocaleInfo()
Constructor to be used by subclasses, such as mock classes for testing. |
Method Summary | |
---|---|
static java.lang.String[] |
getAvailableLocaleNames()
|
static LocaleInfo |
getCurrentLocale()
|
com.google.gwt.i18n.client.constants.DateTimeConstants |
getDateTimeConstants()
Return a DateTimeConstants interface suitable for this locale. |
java.lang.String |
getLocaleName()
|
static java.lang.String |
getLocaleNativeDisplayName(java.lang.String localeName)
Return the display name of the requested locale in its native locale, if possible. |
com.google.gwt.i18n.client.constants.NumberConstants |
getNumberConstants()
Return a NumberConstants interface suitable for this locale. |
boolean |
isRTL()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LocaleInfo()
Method Detail |
---|
public static java.lang.String[] getAvailableLocaleNames()
public static LocaleInfo getCurrentLocale()
public static java.lang.String getLocaleNativeDisplayName(java.lang.String localeName)
localeName
- the name of the locale to lookup.
public final com.google.gwt.i18n.client.constants.DateTimeConstants getDateTimeConstants()
public java.lang.String getLocaleName()
public final com.google.gwt.i18n.client.constants.NumberConstants getNumberConstants()
public boolean isRTL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |