org.jcoderz.phoenix.report
Interface ReportReader

All Known Implementing Classes:
AbstractReportReader, CheckstyleReportReader, CoberturaReportReader, CpdReportReader, EmmaReportReader, FindBugsReportReader, GenericReportReader, JcoderzReport, JCoverageReportReader, PmdReportReader, SourceDirectoryReader

public interface ReportReader

Common Interface for all Report Readers.

Author:
Michael Griffel

Method Summary
 void merge(Map<ResourceInfo,List<Item>> items)
          Merges the items of the input report as a Map of filename string and of the type Item (org.jcoderz.phoenix.report.jaxb.Item) into the given item Map.
 void parse(File f)
          Parses the report file/directory.
 

Method Detail

parse

void parse(File f)
           throws JAXBException,
                  FileNotFoundException
Parses the report file/directory.

Parameters:
f - input XML report or directory.
Throws:
JAXBException - if an JAXB exception occures.
FileNotFoundException - if the given file does not exists.

merge

void merge(Map<ResourceInfo,List<Item>> items)
           throws JAXBException
Merges the items of the input report as a Map of filename string and of the type Item (org.jcoderz.phoenix.report.jaxb.Item) into the given item Map.

Parameters:
items - the items that should be merged with the report's input items.
Throws:
JAXBException - if an JAXB exception occurs.


Copyright 2007 The jCoderZ Project.