Interface Messages

  • All Known Implementing Classes:
    WorkbenchMessages

    public interface Messages
    Message provider. Extracted interface from mondrian.gui.I18n.
    Author:
    mlowery
    • Method Detail

      • getString

        String getString​(String stringId,
                         String defaultValue)
        Returns the string with given key.
        Parameters:
        stringId - key
        defaultValue - default if key does not exist
        Returns:
        message
      • getFormattedString

        String getFormattedString​(String stringId,
                                  String defaultValue,
                                  Object... args)
        Returns the string with given key with substitutions.
        Parameters:
        stringId - Key
        defaultValue - default if key does not exist
        args - arguments to substitute
        Returns:
        message