Package org.opencms.i18n
Interface CmsMultiMessages.I_KeyFallbackHandler
- All Known Implementing Classes:
CmsRemoveInnerNameFallback
,CmsReplaceMessageKeyPrefix
- Enclosing class:
- CmsMultiMessages
public static interface CmsMultiMessages.I_KeyFallbackHandler
Interface to provide fallback keys to be used when the message for a key is not found.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.base.Optional<String>
getFallbackKey
(String key) Gets the fallback key for the given key, or the absent value if there is no fallback key.
-
Method Details
-
getFallbackKey
Gets the fallback key for the given key, or the absent value if there is no fallback key.- Parameters:
key
- the original key- Returns:
- the fallback key
-