Interface CmsMultiMessages.I_KeyFallbackHandler

All Known Implementing Classes:
CmsRemoveInnerNameFallback, CmsReplaceMessageKeyPrefix
Enclosing class:
CmsMultiMessages

Interface to provide fallback keys to be used when the message for a key is not found.

  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.base.Optional<String>
    Gets the fallback key for the given key, or the absent value if there is no fallback key.
  • Method Details

    • getFallbackKey

      com.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.

      Parameters:
      key - the original key
      Returns:
      the fallback key