Class ClassRowWriter
java.lang.Object
org.jacoco.report.csv.ClassRowWriter
Writer for rows in the CVS report representing the summary data of a single
class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ICoverageNode.CounterEntity[]private final ILanguageNamesprivate final DelimitedWriter -
Constructor Summary
ConstructorsConstructorDescriptionClassRowWriter(DelimitedWriter writer, ILanguageNames languageNames) Creates a new row writer that writes class information to the given CSV writer. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidwriteRow(String groupName, String packageName, IClassCoverage node) Writes the class summary information as a row.
-
Field Details
-
COUNTERS
-
writer
-
languageNames
-
-
Constructor Details
-
ClassRowWriter
Creates a new row writer that writes class information to the given CSV writer.- Parameters:
writer- writer for csv outputlanguageNames- converter for Java identifiers- Throws:
IOException- in case of problems with the writer
-
-
Method Details
-
writeHeader
- Throws:
IOException
-
writeRow
Writes the class summary information as a row.- Parameters:
groupName- name of the grouppackageName- vm name of the packagenode- class coverage data- Throws:
IOException- in case of problems with the writer
-