Class ClassRowWriter

java.lang.Object
org.jacoco.report.csv.ClassRowWriter

class ClassRowWriter extends Object
Writer for rows in the CVS report representing the summary data of a single class.
  • Field Details

  • Constructor Details

    • ClassRowWriter

      public ClassRowWriter(DelimitedWriter writer, ILanguageNames languageNames) throws IOException
      Creates a new row writer that writes class information to the given CSV writer.
      Parameters:
      writer - writer for csv output
      languageNames - converter for Java identifiers
      Throws:
      IOException - in case of problems with the writer
  • Method Details

    • writeHeader

      private void writeHeader() throws IOException
      Throws:
      IOException
    • writeRow

      public void writeRow(String groupName, String packageName, IClassCoverage node) throws IOException
      Writes the class summary information as a row.
      Parameters:
      groupName - name of the group
      packageName - vm name of the package
      node - class coverage data
      Throws:
      IOException - in case of problems with the writer