Пример #1
0
 public void printSummary() {
   Formatter formatter = new Formatter(System.out, Locale.US);
   System.out.println("  * zones");
   zoneLevel.printSummary(formatter);
   System.out.println("  * lines");
   lineLevel.printSummary(formatter);
   System.out.println("  * words");
   wordLevel.printSummary(formatter);
 }
Пример #2
0
 public static void printSeparator() {
   LevelResults.printSeparator();
   LevelResults.printSeparator();
   LevelResults.printSeparator();
   System.out.println();
 }
Пример #3
0
 public void printResults(Formatter formatter) {
   zoneLevel.printResults(formatter);
   lineLevel.printResults(formatter);
   wordLevel.printResults(formatter);
   formatter.format("%n");
 }
Пример #4
0
 public static void printColumnHeader() {
   LevelResults.printHeader();
   LevelResults.printHeader();
   LevelResults.printHeader();
   System.out.println();
 }
Пример #5
0
 @Override
 public void add(Results results) {
   zoneLevel.add(results.zoneLevel);
   lineLevel.add(results.lineLevel);
   wordLevel.add(results.wordLevel);
 }