Class VCLocales
java.lang.Object
de.uplanet.lucy.server.auxiliaries.VCLocales
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.server.auxiliaries.VCLocale
de.uplanet.lucy.util.IEditFormat
de.uplanet.lucy.server.auxiliaries.VCLocale
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) de.uplanet.lucy.server.auxiliaries.VCLocale
getUserLocale
(de.uplanet.lucy.server.IProcessingContext p_ctx) parseLanguageRange
(String p_strRanges) Parse the given ranges (e.g. the value of an HTTP Accept-Language header).parsePortalLanguageRange
(String p_strRanges) Parse the given ranges (e.g. the value of an HTTP Accept-Language header) for languages that are defined as portal languages.void
setUserLocale
(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx)
-
Constructor Details
-
VCLocales
public VCLocales()
-
-
Method Details
-
getUserLocale
public de.uplanet.lucy.server.auxiliaries.VCLocale getUserLocale(de.uplanet.lucy.server.IProcessingContext p_ctx) -
setUserLocale
public void setUserLocale(de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx) -
getLocale
-
getDefaultLocale
public de.uplanet.lucy.server.auxiliaries.VCLocale 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.
-