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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.base.Optional<java.lang.String>
getFallbackKey(java.lang.String key)
Gets the fallback key for the given key, or the absent value if there is no fallback key.
-
-
-
Method Detail
-
getFallbackKey
com.google.common.base.Optional<java.lang.String> getFallbackKey(java.lang.String key)
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
-
-