org.vraptor.i18n
Class JstlWrapper
java.lang.Object
org.vraptor.i18n.JstlWrapper
public class JstlWrapper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JstlWrapper
public JstlWrapper()
find
public Object find(LogicRequest context,
String name)
findLocale
public Locale findLocale(LogicRequest context)
stringToLocale
public Locale stringToLocale(String str)
- Extracted from XStream project, copyright Joe Walnes
- Parameters:
str - the string to convert
- Returns:
- the locale
findFallbackLocale
public Locale findFallbackLocale(LogicRequest context)
findLocalizationContext
public String findLocalizationContext(LogicRequest request)
Copyright © 2004-2008 VRaptor. All Rights Reserved.