
![image](https://user-images.githubusercontent.com/12162539/50417924-d6cc2b80-0863-11e9-860f-bf9d132db570.png)

*
     * for example: "abc\n1234"'s width is 4.
     *
     * @param string the given string
     * @return visible width
     */
    private static int width(String string) {
        int maxWidth = 0;
        final Scanner scanner = new Scanner(new StringReader(string));
        try {
            while (scanner.hasNextLine()) {
                maxWidth = max(length(scanner.nextLine()), maxWidth);
            }
        } finally {
            scanner.close();
        }
        return maxWidth;
    }
    /**
     * get border
     *
     * @return table border
     */
    public Border getBorder() {
        return border;
    }
    /**
     * border style
     */
    public class Border {