public static String formatTable(Object... objects) {
        String title = objects[0].toString();
        int blankNum = (NUM - title.length()) / 2;
        int kvNum = (objects.length - 1) / 2;
        String template =
                "\n"
                        + "***********************************************"
                        + "\n"
                        + String.join("", Collections.nCopies(blankNum, " "))
                        + "%s"
                        + "\n"
                        + "***********************************************"
                        + "\n"
                        + String.join("", Collections.nCopies(kvNum, "%-26s: %19s\n"))
                        + "***********************************************\n";
        return String.format(template, objects);
    }
@Test
    public void testStringFormat() {
        String s =
                StringFormatUtils.formatTable(
                        "Job Statistic Information",
                        "Start Time",
                        "2023-01-11 00:00:00",
                        "End Time",
                        "2023-01-11 00:00:00",
                        "Total Time(s)",
                        0,
                        "Total Read Count",
                        0,
                        "Total Write Count",
                        0,
                        "Total Failed Count",
                        0);
        Assertions.assertEquals(
                s,
                "\n"
                        + "***********************************************\n"
                        + "           Job Statistic Information\n"
                        + "***********************************************\n"
                        + "Start Time                : 2023-01-11 00:00:00\n"
                        + "End Time                  : 2023-01-11 00:00:00\n"
                        + "Total Time(s)             :                   0\n"
                        + "Total Read Count          :                   0\n"
                        + "Total Write Count         :                   0\n"
                        + "Total Failed Count        :                   0\n"
                        + "***********************************************\n");
    }