Class CsvPrinter
java.lang.Object
clazzfish.sample.spi.CsvPrinter
- All Implemented Interfaces:
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
-
Field Summary
Fields inherited from interface CsvXPorter
log -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CsvXPorter
exportCSV, exportCSV, importCSV, importCSVModifier and TypeMethodDescriptiondefault voidInterface for exporting CSV.default voidInterface for exporting CSV.Interface for importing a CSV.Interface for importing a CSV.
-
Constructor Details
-
CsvPrinter
public CsvPrinter()
-
-
Method Details
-
getURI
Description copied from interface:CsvXPorterSimple getter for the import and export URI.- Specified by:
getURIin interfaceCsvXPorter- Returns:
- URI
-
withURI
Description copied from interface:CsvXPorterReturns a (new) CsvXPorter with new URI.- Specified by:
withURIin interfaceCsvXPorter- Parameters:
csvURI- URI of the returned CsvXPorter- Returns:
- usually a new CsvXPorter
-
exportCSV
Prints only the dead classes to stdout.- Specified by:
exportCSVin interfaceCsvXPorter- Parameters:
uri- print URI (which is ignored)csvHeadLine- head line (not needed here)csvLines- CSV lines with the class and count infos
-