com.github.dandelion.datatables.core.i18n
Interface LocaleResolver

All Known Implementing Classes:
StandardLocaleResolver

public interface LocaleResolver

Interface for all locale resolvers.

The locale is defaultly retrieved from the request in the StandardLocaleResolver which is the default implementation.

Since:
0.9.0
Author:
Thibault Duchateau

Method Summary
 Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
          Resolve the current locale with the given request.
 

Method Detail

resolveLocale

Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
Resolve the current locale with the given request.

Parameters:
request - The request used to resolve the locale.
Returns:
the current Locale.


Copyright © 2013–2014 Dandelion Project. All rights reserved.