Interface MessageFormattable

    • Method Detail

      • getKey

        String getKey()
        This method returns the message key used as an index in the ResourceBundle.
        Returns:
        key
      • getArgs

        String[] getArgs()
        This method returns the args that act as variables in the message.
        Returns:
        list of message elements
      • setArgs

        void setArgs​(String... args)
        This method sets the arg variables that are placed in the message.
        Parameters:
        args - list of elements to be placed in message
      • getFormattedMessage

        String getFormattedMessage()
        This method returns the message which includes the arg elements.
        Returns:
        formatted message