Class LocaleRepositoryImpl
java.lang.Object
de.digitalcollections.cudami.server.backend.inmemory.LocaleRepositoryImpl
- All Implemented Interfaces:
LocaleRepository
@Repository public class LocaleRepositoryImpl extends java.lang.Object implements LocaleRepository
-
Constructor Summary
Constructors Constructor Description LocaleRepositoryImpl() -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>findAllLanguages()java.util.List<java.util.Locale>findAllLocales()java.lang.StringgetDefaultLanguage()java.util.LocalegetDefaultLocale()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LocaleRepositoryImpl
public LocaleRepositoryImpl()
-
-
Method Details
-
findAllLanguages
public java.util.List<java.lang.String> findAllLanguages()- Specified by:
findAllLanguagesin interfaceLocaleRepository
-
findAllLocales
public java.util.List<java.util.Locale> findAllLocales()- Specified by:
findAllLocalesin interfaceLocaleRepository
-
getDefaultLanguage
public java.lang.String getDefaultLanguage()- Specified by:
getDefaultLanguagein interfaceLocaleRepository
-
getDefaultLocale
public java.util.Locale getDefaultLocale()- Specified by:
getDefaultLocalein interfaceLocaleRepository
-