org.jcoderz.phoenix.report
Class FindBugsReportReader

java.lang.Object
  extended by org.jcoderz.phoenix.report.AbstractReportReader
      extended by org.jcoderz.phoenix.report.FindBugsReportReader
All Implemented Interfaces:
ValidationEventHandler, ReportReader

public final class FindBugsReportReader
extends AbstractReportReader

Author:
Michael Griffel

Field Summary
static String FINDBUGS_JAXB_CONTEXT_PATH
          JAXB context path.
 
Method Summary
 Map getItems()
          Returns the items of the input report as a Map of filename string and of the type Item (org.jcoderz.phoenix.report.jaxb.Item).
 void parse(File f)
          Parses the report file/directory.
 
Methods inherited from class org.jcoderz.phoenix.report.AbstractReportReader
getMarshaller, getUnmarshaller, handleEvent, merge, normalizeFileName, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FINDBUGS_JAXB_CONTEXT_PATH

public static final String FINDBUGS_JAXB_CONTEXT_PATH
JAXB context path.

See Also:
Constant Field Values
Method Detail

parse

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

Parameters:
f - input XML report or directory.
Throws:
JAXBException - if an JAXB exception occures.

getItems

public Map getItems()
             throws JAXBException
Returns the items of the input report as a Map of filename string and of the type Item (org.jcoderz.phoenix.report.jaxb.Item).

Specified by:
getItems in class AbstractReportReader
Returns:
the items of the input report as a List of the type Item.
Throws:
JAXBException - if an JAXB exception occures.


Copyright 2007 The jCoderZ Project.