org.jcoderz.phoenix.report
Class CpdReportReader
java.lang.Object
org.jcoderz.phoenix.report.AbstractReportReader
org.jcoderz.phoenix.report.CpdReportReader
- All Implemented Interfaces:
- ValidationEventHandler, ReportReader
public final class CpdReportReader
- extends AbstractReportReader
CPD Report Reader.
- Author:
- Michael Griffel
|
Method Summary |
protected 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPD_JAXB_CONTEXT_PATH
public static final String CPD_JAXB_CONTEXT_PATH
- JAXB context path.
- See Also:
- Constant Field Values
CpdReportReader
public CpdReportReader()
throws JAXBException
- Throws:
JAXBException
parse
public 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.
getItems
protected 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.