|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsLocaleHandler
A locale handler returns the locale name to use for the given request context.
By implementing this interface, and configuring OpenCms accordingly, the behaviour for the m_locale selection can be fine-tuned to the exact need of the OpenCms installation.
Method Summary | |
---|---|
CmsI18nInfo |
getI18nInfo(javax.servlet.http.HttpServletRequest req,
CmsUser user,
CmsProject project,
java.lang.String resource)
Returns the i18n information to use in the request context. |
void |
initHandler(CmsObject cms)
Will be called during system startup. |
Method Detail |
---|
CmsI18nInfo getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, java.lang.String resource)
req
- the current http requestuser
- the current userproject
- the current projectresource
- the URI of the requested resource (with full site root added)
void initHandler(CmsObject cms)
cms
- an initialized cms permission context for VFS access
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |