public static Locale toLocale(String strLocale) throws ExpressionException {
  return LocaleFactory.getLocale(strLocale);
}

public static Locale toLocale ( String strLocale ) throws ExpressionException { return LocaleFactory . getLocale ( strLocale ) ; }
casts a string to a locale
