| Package | Description |
|---|---|
| org.gwtproject.i18n.shared |
| Modifier and Type | Method and Description |
|---|---|
GwtLocale |
GwtLocaleFactory.fromComponents(String language,
String script,
String region,
String variant)
Construct a GWT locale from its component parts.
|
GwtLocale |
GwtLocaleFactory.fromString(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).
|
GwtLocale |
GwtLocale.getCanonicalForm()
Returns this locale in canonical form.
|
GwtLocale |
GwtLocaleFactory.getDefault()
Returns an instance of the default locale.
|
| Modifier and Type | Method and Description |
|---|---|
List<GwtLocale> |
GwtLocale.getAliases()
Returns the list of aliases for this locale.
|
List<GwtLocale> |
GwtLocale.getCompleteSearchList()
Returns the complete list of locales to search for the current locale.
|
List<GwtLocale> |
GwtLocale.getInheritanceChain()
Returns a list of locales to search for, in order of preference.
|
| Modifier and Type | Method and Description |
|---|---|
int |
GwtLocale.compareTo(GwtLocale o)
The default comparison is a lexical ordering.
|
boolean |
GwtLocale.inheritsFrom(GwtLocale parent)
Returns true if this locale inherits from the specified locale.
|
boolean |
GwtLocale.usesSameScript(GwtLocale other)
Checks if this locale uses the same script as another locale.
|
Copyright © 2018–2020. All rights reserved.