Class VCLocales
java.lang.Object
de.uplanet.lucy.server.auxiliaries.VCLocales
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.util.IEditFormat
getLocaleDisplayName
(de.uplanet.lucy.server.IProcessingContext p_ctx, String p_strLocaleLangTag) getLocaleDisplayNames
(de.uplanet.lucy.server.IProcessingContext p_ctx) getSupportedLocaleDisplayNames
(de.uplanet.lucy.server.IProcessingContext p_ctx) getUserLocale
(de.uplanet.lucy.server.IProcessingContext p_ctx) parseLanguageRange
(String p_strRanges) Parse the given ranges (e.g.parsePortalLanguageRange
(String p_strRanges) Parse the given ranges (e.g.void
setUserLocale
(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx)
-
Constructor Details
-
VCLocales
public VCLocales()
-
-
Method Details
-
getUserLocale
-
setUserLocale
public void setUserLocale(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx) -
getLocale
-
getDefaultLocale
-
getLocaleLanguageTags
-
getLocaleDisplayName
-
getLocaleDisplayNames
-
getSupportedLocaleDisplayNames
-
parseLanguageRange
Parse the given ranges (e.g. the value of an HTTP Accept-Language header).- Parameters:
p_strRanges
- The language range.
-
parsePortalLanguageRange
Parse the given ranges (e.g. the value of an HTTP Accept-Language header) for languages that are defined as portal languages.- Parameters:
p_strRanges
- The language range.
-
getEditFormat
public de.uplanet.lucy.util.IEditFormat getEditFormat()- Returns:
- The edit control format configuration.
-