net.fckeditor.localization.impl
Class JstlResolver

java.lang.Object
  extended by net.fckeditor.localization.impl.JstlResolver
All Implemented Interfaces:
LocaleResolver

public class JstlResolver
extends Object
implements LocaleResolver

JSTL implementation of the locale resolver. It resolves the locale against the user session.

Version:
$Id: JstlResolver.java 3759 2009-06-22 20:02:26Z mosipov $

Constructor Summary
JstlResolver()
           
 
Method Summary
 Locale resolveLocale(HttpServletRequest request)
          Returns the locale of a given request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JstlResolver

public JstlResolver()
Method Detail

resolveLocale

public Locale resolveLocale(HttpServletRequest request)
Description copied from interface: LocaleResolver
Returns the locale of a given request.

Specified by:
resolveLocale in interface LocaleResolver
Parameters:
request - the current request instance
Returns:
the locale of the request, null if the locale couldn't be resolved


Copyright © 2004-2009 Frederico Caldeira Knabben. All Rights Reserved.