Package com.microstrategy.utils
Class LocaleHelper
- java.lang.Object
-
- com.microstrategy.utils.LocaleHelper
-
public class LocaleHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LocaleHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configureLocalesFromRequest(WebIServerSession activeSession, java.lang.String acceptLanguage)
static java.lang.String
getCurrentDisplayLocale()
static java.util.Locale
getLocale(java.lang.String acceptLanguage)
static java.lang.String
getSupportedLocale(java.lang.String acceptLanguage)
-
-
-
Method Detail
-
configureLocalesFromRequest
public static void configureLocalesFromRequest(WebIServerSession activeSession, java.lang.String acceptLanguage)
-
getCurrentDisplayLocale
public static java.lang.String getCurrentDisplayLocale()
-
getLocale
public static java.util.Locale getLocale(java.lang.String acceptLanguage)
-
getSupportedLocale
public static java.lang.String getSupportedLocale(java.lang.String acceptLanguage)
-
-