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