Interface MessageLookup


public interface MessageLookup
MessageLookup provides all information to lookup localized messages via CdsRuntime.getLocalizedMessage(String, Object[], java.util.Locale) in different languages.
  • Method Details

    • create

      static MessageLookup create(String messageOrKey, Object[] args)
      Creates a new MessageLookup
      Parameters:
      messageOrKey - The formatting message, based on SLF4J's MessageFormatter, or a key to a message format in the resource bundles.
      args - The argument objects for the format string.
      Returns:
      the MessageLookup
    • getMessageOrKey

      String getMessageOrKey()
      Returns:
      The formatting message, based on SLF4J's MessageFormatter, or a key to a message format in the resource bundles.
    • getArgs

      Object[] getArgs()
      Returns:
      The argument objects for the format string.