org.vraptor.i18n
Class JstlWrapper

java.lang.Object
  extended by org.vraptor.i18n.JstlWrapper

public class JstlWrapper
extends Object


Constructor Summary
JstlWrapper()
           
 
Method Summary
 Object find(LogicRequest context, String name)
           
 Locale findFallbackLocale(LogicRequest context)
           
 Locale findLocale(LogicRequest context)
           
 String findLocalizationContext(LogicRequest request)
           
 Locale stringToLocale(String str)
          Extracted from XStream project, copyright Joe Walnes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JstlWrapper

public JstlWrapper()
Method Detail

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.