Package org.apache.myfaces.util
Class LocaleUtils
java.lang.Object
org.apache.myfaces.util.LocaleUtils
- 
Method Summary
- 
Method Details- 
toLocaleConverts a locale string toLocaleclass. Accepts both '_' and '-' as separators for locale components.- Parameters:
- localeString- string representation of a locale
- Returns:
- Locale instance, compatible with the string representation
 
- 
converterTagLocaleFromStringConvert locale string used by converter tags to locale.- Parameters:
- name- name of the locale
- Returns:
- locale specified by the given String
 
 
-