Class FormatUtils


  • public class FormatUtils
    extends Object
    • Method Detail

      • format

        public static String format​(String pattern,
                                    Object... arguments)
        format a string with placeholder by the input arguments
        Parameters:
        pattern - a string contains placeholder
        arguments - used to format the pattern string
        Returns:
        a formatted string