Package | Description |
---|---|
com.google.gwt.core.server | |
com.google.gwt.i18n.rebind |
This package contains i18n generators.
|
com.google.gwt.i18n.server |
This package contains server-side i18n classes and interfaces.
|
com.google.gwt.i18n.shared |
This package contains i18n classes and interfaces shared between client and
server.
|
Modifier and Type | Method and Description |
---|---|
static GwtLocale |
ServerGwtBridge.getLocale(ServerGwtBridge.Properties properties) |
Modifier and Type | Method and Description |
---|---|
GwtLocale |
LocaleUtils.getCompileLocale()
Returns the static compile-time locale for this permutation.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<GwtLocale> |
LocaleUtils.getAllCompileLocales()
Returns the set of all compile-time locales.
|
java.util.Set<GwtLocale> |
LocaleUtils.getAllLocales()
Returns the set of all available locales, whether compile-time locales or
runtime locales.
|
java.util.Set<GwtLocale> |
LocaleUtils.getRuntimeLocales()
Returns a list of locales which are children of the current compile-time
locale.
|
Modifier and Type | Class and Description |
---|---|
class |
GwtLocaleImpl
Class representing GWT locales and conversion to/from other formats.
|
Modifier and Type | Method and Description |
---|---|
GwtLocale |
GwtLocaleFactoryImpl.fromComponents(java.lang.String language,
java.lang.String script,
java.lang.String region,
java.lang.String variant) |
GwtLocale |
GwtLocaleFactoryImpl.fromString(java.lang.String localeName) |
GwtLocale |
GwtLocaleImpl.getCanonicalForm()
Returns this locale in canonical form.
|
GwtLocale |
GwtLocaleFactoryImpl.getDefault() |
Modifier and Type | Method and Description |
---|---|
java.util.List<GwtLocale> |
GwtLocaleImpl.getAliases() |
java.util.List<GwtLocale> |
GwtLocaleImpl.getCompleteSearchList() |
java.util.List<GwtLocale> |
GwtLocaleImpl.getInheritanceChain()
Return a list of locales to search for, in order of preference.
|
Modifier and Type | Method and Description |
---|---|
int |
GwtLocaleImpl.compareTo(GwtLocale o) |
boolean |
GwtLocaleImpl.inheritsFrom(GwtLocale parent)
Return true if this locale inherits from the specified locale.
|
boolean |
GwtLocaleImpl.usesSameScript(GwtLocale other)
Checks if this locale uses the same script as another locale, taking into
account default scripts.
|
Modifier and Type | Method and Description |
---|---|
GwtLocale |
GwtLocaleFactory.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.
|
GwtLocale |
GwtLocaleFactory.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).
|
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 |
---|---|
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.
|
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.
|