public static String format(String pattern, Object... arguments) {
    return MessageFormat.format(pattern, arguments);
  }
Creates a MessageFormat with the given pattern and uses it to format the given arguments.

@param pattern the pattern to be substituted with given arguments
@param arguments an array of objects to be formatted and substituted
@return formatted string
@throws IllegalArgumentException if the pattern is invalid, or if an argument in the
        <code>arguments</code> array is not of the type expected by the format element(s) that
        use it.
geode-core/src/main/java/org/apache/geode/management/internal/i18n/CliStrings.java