Class DefaultI18nModeManager
- java.lang.Object
-
- com.atlassian.confluence.util.i18n.DefaultI18nModeManager
-
- All Implemented Interfaces:
I18nModeManager
public class DefaultI18nModeManager extends Object implements I18nModeManager
-
-
Constructor Summary
Constructors Constructor Description DefaultI18nModeManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslationMode
getModeForString(String param)
TranslationMode
getTranslationMode()
void
setHttpContext(HttpContext httpContext)
void
setTranslationMode(javax.servlet.http.HttpServletRequest httpServletRequest, TranslationMode mode)
-
-
-
Method Detail
-
setHttpContext
public void setHttpContext(HttpContext httpContext)
-
getTranslationMode
public TranslationMode getTranslationMode()
- Specified by:
getTranslationMode
in interfaceI18nModeManager
- Returns:
- true if the I18n translations mode is on for this thread
-
setTranslationMode
public void setTranslationMode(javax.servlet.http.HttpServletRequest httpServletRequest, TranslationMode mode)
- Specified by:
setTranslationMode
in interfaceI18nModeManager
-
getModeForString
public TranslationMode getModeForString(String param)
- Specified by:
getModeForString
in interfaceI18nModeManager
-
-