Class CSVGroupHandler

    • Field Detail

      • groupName

        private final java.lang.String groupName
    • Constructor Detail

      • CSVGroupHandler

        private CSVGroupHandler​(ClassRowWriter writer,
                                java.lang.String groupName)
    • Method Detail

      • visitBundle

        public void visitBundle​(IBundleCoverage bundle,
                                ISourceFileLocator locator)
                         throws java.io.IOException
        Description copied from interface: IReportGroupVisitor
        Called to add a bundle to the the report.
        Specified by:
        visitBundle in interface IReportGroupVisitor
        Parameters:
        bundle - a bundle to include in the report
        locator - source locator for this bundle
        Throws:
        java.io.IOException - in case of IO problems with the report writer
      • visitGroup

        public IReportGroupVisitor visitGroup​(java.lang.String name)
                                       throws java.io.IOException
        Description copied from interface: IReportGroupVisitor
        Called to add a new group to the report. The returned IReportGroupVisitor instance can be used to add nested bundles or groups. The content of the group has to be completed before this or any parent visitor can be used again ("deep first").
        Specified by:
        visitGroup in interface IReportGroupVisitor
        Parameters:
        name - name of the group
        Returns:
        visitor for the group's content
        Throws:
        java.io.IOException - in case of IO problems with the report writer
      • appendName

        private java.lang.String appendName​(java.lang.String name)