Class LocaleHelper


  • public class LocaleHelper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LocaleHelper()  
    • Constructor Detail

      • LocaleHelper

        public LocaleHelper()
    • Method Detail

      • createLocale

        public static java.util.Locale createLocale​(java.lang.String language,
                                                    java.lang.String country)
      • 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)
      • getLocaleInRange

        public static java.lang.String getLocaleInRange​(java.lang.String acceptLanguage,
                                                        java.lang.String[] localeNames)
      • getSupportedLocale

        public static java.lang.String getSupportedLocale​(java.lang.String acceptLanguage)
      • getSupportedLocaleFileName

        @Deprecated(since="11.3.8",
                    forRemoval=true)
        public static java.lang.String getSupportedLocaleFileName​(java.lang.String acceptLanguage)
        Deprecated, for removal: This API element is subject to removal in a future version.
        We don't use this method any more and the only purpose we leave this method here is for backward compatibility.
      • getAllDossierSupportedLocaleName

        public static java.lang.String[] getAllDossierSupportedLocaleName()