Class LocaleRepositoryImpl
- java.lang.Object
-
- de.digitalcollections.cudami.server.backend.inmemory.LocaleRepositoryImpl
-
- All Implemented Interfaces:
LocaleRepository
@Repository public class LocaleRepositoryImpl extends Object implements LocaleRepository
-
-
Constructor Summary
Constructors Constructor Description LocaleRepositoryImpl(CudamiConfig cudamiConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultLanguage()LocalegetDefaultLocale()List<String>getSupportedLanguages()List<Locale>getSupportedLocales()
-
-
-
Constructor Detail
-
LocaleRepositoryImpl
public LocaleRepositoryImpl(CudamiConfig cudamiConfig)
-
-
Method Detail
-
getSupportedLanguages
public List<String> getSupportedLanguages()
- Specified by:
getSupportedLanguagesin interfaceLocaleRepository
-
getSupportedLocales
public List<Locale> getSupportedLocales()
- Specified by:
getSupportedLocalesin interfaceLocaleRepository
-
getDefaultLanguage
public String getDefaultLanguage()
- Specified by:
getDefaultLanguagein interfaceLocaleRepository
-
getDefaultLocale
public Locale getDefaultLocale()
- Specified by:
getDefaultLocalein interfaceLocaleRepository
-
-