Uses of Interface
org.gwtproject.i18n.shared.GwtLocale
| Package | Description |
|---|---|
| org.gwtproject.i18n.shared |
-
Uses of GwtLocale in org.gwtproject.i18n.shared
Methods in org.gwtproject.i18n.shared that return GwtLocale Modifier and Type Method Description GwtLocaleGwtLocaleFactory. fromComponents(java.lang.String language, java.lang.String script, java.lang.String region, java.lang.String variant)Construct a GWT locale from its component parts.GwtLocaleGwtLocaleFactory. fromString(java.lang.String localeName)Get a GWT locale from a string conforming to a subset of BCP47 (specifically assuming extension tags are not present, at most one variant is present, and grandfathered tags are not supported; also private-use tags are only supported for the entire tag).GwtLocaleGwtLocale. getCanonicalForm()Returns this locale in canonical form.GwtLocaleGwtLocaleFactory. getDefault()Returns an instance of the default locale.Methods in org.gwtproject.i18n.shared that return types with arguments of type GwtLocale Modifier and Type Method Description java.util.List<GwtLocale>GwtLocale. getAliases()Returns the list of aliases for this locale.java.util.List<GwtLocale>GwtLocale. getCompleteSearchList()Returns the complete list of locales to search for the current locale.java.util.List<GwtLocale>GwtLocale. getInheritanceChain()Returns a list of locales to search for, in order of preference.Methods in org.gwtproject.i18n.shared with parameters of type GwtLocale Modifier and Type Method Description intGwtLocale. compareTo(GwtLocale o)The default comparison is a lexical ordering.booleanGwtLocale. inheritsFrom(GwtLocale parent)Returns true if this locale inherits from the specified locale.booleanGwtLocale. usesSameScript(GwtLocale other)Checks if this locale uses the same script as another locale.