Class ClassRowWriter


  • class ClassRowWriter
    extends java.lang.Object
    Writer for rows in the CVS report representing the summary data of a single class.
    • Constructor Detail

      • ClassRowWriter

        public ClassRowWriter​(DelimitedWriter writer,
                              ILanguageNames languageNames)
                       throws java.io.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:
        java.io.IOException - in case of problems with the writer
    • Method Detail

      • writeHeader

        private void writeHeader()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeRow

        public void writeRow​(java.lang.String groupName,
                             java.lang.String packageName,
                             IClassCoverage node)
                      throws java.io.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:
        java.io.IOException - in case of problems with the writer