Class CsvPrinter

java.lang.Object
clazzfish.sample.spi.CsvPrinter
All Implemented Interfaces:
CsvXPorter

public class CsvPrinter extends Object implements CsvXPorter
The class CsvPrinter is an example for an implementation of the CsvXPorter interface. It just prints the dead classes of the clazzfish.sample package to stdout.
Since:
2.5 (01.03.25)
Author:
oboehm
  • Constructor Details

    • CsvPrinter

      public CsvPrinter()
  • Method Details

    • exportCSV

      public void exportCSV(URI uri, String csvHeadLine, List<String> csvLines)
      Prints only the dead classes to stdout.
      Specified by:
      exportCSV in interface CsvXPorter
      Parameters:
      uri - print URI (which is ignored)
      csvHeadLine - head line (not needed here)
      csvLines - CSV lines with the class and count infos