|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.Locales
Constructor Summary | |
Locales()
|
Method Summary | |
static java.util.List |
getCustomCatalogLocales()
Return the Locales that have custom resource bundles as determined by CustomCatalog. |
static java.util.List |
getWPMessagesLocales(java.util.List localeIds)
Returns all of the Locales which have an exact matches for WPMessages.properties resource bundles. |
static java.util.Map |
localeIdToDisplayName(java.util.Collection locales,
java.util.Locale displayLocale)
Return a map from locale ID (what's returned by Locales.localeToString) to the display name in the selected locale. |
static java.lang.String |
localeToString(java.util.Locale locale)
Returns a String representation of locale that can be passed to stringToLocale to retrieve the original locale. |
static java.util.Locale |
parse(java.lang.String str)
Parses a string created with Locale.toString |
static java.util.Locale |
stringToLocale(java.lang.String localeId)
Returns the locale with the given localeId, which must have been returned by a call to Util.localeToString. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Locales()
Method Detail |
public static java.util.Locale parse(java.lang.String str)
public static java.lang.String localeToString(java.util.Locale locale)
public static java.util.Locale stringToLocale(java.lang.String localeId)
public static final java.util.List getCustomCatalogLocales()
public static java.util.List getWPMessagesLocales(java.util.List localeIds)
public static java.util.Map localeIdToDisplayName(java.util.Collection locales, java.util.Locale displayLocale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |