|
GWT 2.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.i18n.rebind.LocaleUtils
public class LocaleUtils
Utility methods for dealing with locales.
Method Summary | |
---|---|
static void |
clear()
Clear any static state associated with LocaleUtils. |
java.util.Set<GwtLocale> |
getAllCompileLocales()
Returns the set of all compile-time locales. |
java.util.Set<GwtLocale> |
getAllLocales()
Returns the set of all available locales, whether compile-time locales or runtime locales. |
GwtLocale |
getCompileLocale()
|
static LocaleUtils |
getInstance(TreeLogger logger,
PropertyOracle propertyOracle)
Create a new LocaleUtils instance for the given PropertyOracle. |
static GwtLocaleFactory |
getLocaleFactory()
Get a shared GwtLocale factory so instances are cached between all uses. |
java.util.Set<GwtLocale> |
getRuntimeLocales()
Returns a list of locales which are children of the current compile-time locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void clear()
public static LocaleUtils getInstance(TreeLogger logger, PropertyOracle propertyOracle)
logger
- propertyOracle
-
public static GwtLocaleFactory getLocaleFactory()
public java.util.Set<GwtLocale> getAllCompileLocales()
public java.util.Set<GwtLocale> getAllLocales()
public GwtLocale getCompileLocale()
public java.util.Set<GwtLocale> getRuntimeLocales()
|
GWT 2.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |