| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.commons.util.LocaleUtils
public final class LocaleUtils
| Method Summary | |
|---|---|
| static java.util.Locale | converterTagLocaleFromString(java.lang.String name)Convert locale string used by converter tags to locale. | 
| static java.util.Locale | toLocale(java.lang.String localeString)Converts a locale string to Localeclass. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static java.util.Locale toLocale(java.lang.String localeString)
Locale class. Accepts both
 '_' and '-' as separators for locale components.
localeString - string representation of a locale
public static java.util.Locale converterTagLocaleFromString(java.lang.String name)
name - name of the locale
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||