net.fckeditor.localization
Interface LocaleResolver

All Known Implementing Classes:
AcceptLanguageHeaderResolver, JstlResolver

public interface LocaleResolver

An interface for user locale resolution.

Note: You are free to implement this interface the way you need it, in other words your return values can be global, regardless of the request, or on a per-request basis.

Version:
$Id: LocaleResolver.java 4785 2009-12-21 20:10:28Z mosipov $

Method Summary
 Locale resolveLocale(HttpServletRequest request)
          Returns the locale of a given request.
 

Method Detail

resolveLocale

Locale resolveLocale(HttpServletRequest request)
Returns the locale of a given request.

Parameters:
request - the current request instance
Returns:
the locale of the request, null if the locale couldn't be resolved


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