1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AsciiTable at = new AsciiTable();
at.addRule();
at.addRow("0", "1", "22", "333", "4444");
at.addRule();
CWC_LongestLine cwc = new CWC_LongestLine();
at.getRenderer().setCWC(cwc);
System.out.println(at.render());
cwc.add(4, 0);
System.out.println(at.render());
cwc.add(6, 0).add(0, 0).add(0, 0).add(0, 2);
System.out.println(at.render());
at.addRow("0", "1", "22", "333<br>55555", "4444");
at.addRule();
System.out.println(at.render());