railo.runtime.i18n
Class LocaleFactory
java.lang.Object
railo.runtime.i18n.LocaleFactory
public final class LocaleFactory
- extends Object
Factory to create Locales by Cold Fusion rules
getLocale
public static Locale getLocale(String strLocale,
Locale defaultValue)
- Parameters:
strLocale
- defaultValue
-
- Returns:
- return locale match to String
getLocale
public static Locale getLocale(String strLocale)
throws ExpressionException
- Parameters:
strLocale
-
- Returns:
- return locale match to String
- Throws:
ExpressionException
toString
public static String toString(Locale locale)
- Parameters:
locale
-
- Returns:
- cast a Locale to a String
getLocales
public static Map getLocales()
- Returns:
- Returns the locales.
getLocaleList
public static String getLocaleList()
Copyright © 2012 Railo