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 3759 2009-06-22 20:02:26Z 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-2009 Frederico Caldeira Knabben. All Rights Reserved.