Interface MessageLookup

    • Method Detail

      • getMessage

        @NotAuditable
        String getMessage​(String messageKey)
        Get message from registered resource bundle.
        Parameters:
        messageKey - message key
        Returns:
        localised message string, null if not found
      • getMessage

        @NotAuditable
        String getMessage​(String messageKey,
                          Locale locale)
        Get a localised message string
        Parameters:
        messageKey - the message key
        locale - override the current locale
        Returns:
        the localised message string, null if not found
      • getMessage

        @NotAuditable
        String getMessage​(String messageKey,
                          Object... params)
        Get a localised message string, parameterized using standard MessageFormatter.
        Parameters:
        messageKey - message key
        params - format parameters
        Returns:
        the localised string, null if not found
      • getMessage

        @NotAuditable
        String getMessage​(String messageKey,
                          Locale locale,
                          Object... params)
        Get a localised message string, parameterized using standard MessageFormatter.
        Parameters:
        messageKey - the message key
        locale - override current locale
        params - the localised message string
        Returns:
        the localised string, null if not found