| java.lang.Object org.jaffa.presentation.portlet.session.LocaleContext
LocaleContext | public class LocaleContext (Code) | | This class has a ThreadLocal variable to store the locale for a given Thread. It should be invoked by the controller
servlet or the WebServices wrapper.
|
Method Summary | |
public static Locale | getLocale() This retrieves the locale object from the variable thread
If no value exists, then the default locale for the JVM will be returned. | public static void | setLocale(Locale locale) |
getLocale | public static Locale getLocale()(Code) | | This retrieves the locale object from the variable thread
If no value exists, then the default locale for the JVM will be returned.
returns a locale object |
setLocale | public static void setLocale(Locale locale)(Code) | | This sets the Locale object from the request stream into the variable thread
Parameters: locale - this is a locale object |
|
|