Class LocaleConfigServiceImpl

java.lang.Object
org.exoplatform.services.resources.impl.LocaleConfigServiceImpl
All Implemented Interfaces:
org.exoplatform.services.resources.LocaleConfigService

public class LocaleConfigServiceImpl extends Object implements org.exoplatform.services.resources.LocaleConfigService
Author:
Benjamin Mestrallet benjamin.mestrallet@exoplatform.com This Service is used to manage the locales that the applications can handle
  • Field Details

  • Constructor Details

    • LocaleConfigServiceImpl

      public LocaleConfigServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.container.configuration.ConfigurationManager cmanager, org.exoplatform.container.xml.InitParams params) throws Exception
      Throws:
      Exception
  • Method Details

    • getDefaultLocaleConfig

      public org.exoplatform.services.resources.LocaleConfig getDefaultLocaleConfig()
      Specified by:
      getDefaultLocaleConfig in interface org.exoplatform.services.resources.LocaleConfigService
    • saveDefaultLocaleConfig

      public void saveDefaultLocaleConfig(String locale)
      Specified by:
      saveDefaultLocaleConfig in interface org.exoplatform.services.resources.LocaleConfigService
    • getLocaleConfig

      public org.exoplatform.services.resources.LocaleConfig getLocaleConfig(String lang)
      Specified by:
      getLocaleConfig in interface org.exoplatform.services.resources.LocaleConfigService
    • getLocalConfigs

      public Collection<org.exoplatform.services.resources.LocaleConfig> getLocalConfigs()
      Specified by:
      getLocalConfigs in interface org.exoplatform.services.resources.LocaleConfigService
    • parseConfiguration

      protected void parseConfiguration(InputStream is) throws Exception
      Throws:
      Exception