Package com.thecoderscorner.menu.persist
Class NoLocaleEnabledLocalHandler
java.lang.Object
com.thecoderscorner.menu.persist.NoLocaleEnabledLocalHandler
- All Implemented Interfaces:
LocaleMappingHandler
-
Field Summary
Fields inherited from interface com.thecoderscorner.menu.persist.LocaleMappingHandler
NOOP_IMPLEMENTATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeLocale(Locale locale) getLocalSpecificEntry(String source) booleanvoidvoidsetLocalSpecificEntry(String source, String newValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.thecoderscorner.menu.persist.LocaleMappingHandler
getFromLocaleWithDefault, getWithLocaleInitIfNeeded
-
Constructor Details
-
NoLocaleEnabledLocalHandler
protected NoLocaleEnabledLocalHandler()
-
-
Method Details
-
isLocalSupportEnabled
public boolean isLocalSupportEnabled()- Specified by:
isLocalSupportEnabledin interfaceLocaleMappingHandler
-
getLocalSpecificEntry
- Specified by:
getLocalSpecificEntryin interfaceLocaleMappingHandler- Throws:
IllegalArgumentException
-
setLocalSpecificEntry
- Specified by:
setLocalSpecificEntryin interfaceLocaleMappingHandler- Throws:
IllegalArgumentException
-
getEnabledLocales
- Specified by:
getEnabledLocalesin interfaceLocaleMappingHandler
-
changeLocale
- Specified by:
changeLocalein interfaceLocaleMappingHandler
-
saveChanges
public void saveChanges()- Specified by:
saveChangesin interfaceLocaleMappingHandler
-
getUnderlyingMap
- Specified by:
getUnderlyingMapin interfaceLocaleMappingHandler
-
getCurrentLocale
- Specified by:
getCurrentLocalein interfaceLocaleMappingHandler
-