@Override
    public void print(TableModel model) {
        TextTableFormat format = model.format();
        format.configure(model);

        out.println(file);

        // print table name
        String name = model.name();
        name = " " + name + " ";
        int size = Math.max(name.length() + 2, format.tableWidth(cellSeparator));
        name = StringUtils.center(name, size, nameSeparator);
        out.println(name);

        // print cells
        model.table().cellSet().forEach(cell -> printCell(model, format, cell));
        out.println();
        out.println();
    }
@author Nico Bergemann <barracuda415 at yahoo.de>
disunity-cli/src/main/java/info/ata4/disunity/cli/util/TextTablePrinter.java