|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocaleResolver
It represents an object able to resolve the current locale for the current request, where its strategy depends on its implementation.
Method Summary | |
---|---|
void |
init(Map<String,String> params)
Initializes the LocaleResolver object. |
Locale |
resolveLocale(TilesRequestContext request)
Resolves the locale. |
Method Detail |
---|
void init(Map<String,String> params) throws TilesException
LocaleResolver
object. This method
must be called before the resolveLocale(TilesRequestContext)
method is called.
params
- A map of properties used to set up the resolver.
TilesException
- if required properties are not passed
in or the initialization fails.Locale resolveLocale(TilesRequestContext request)
request
- The Tiles request object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |