org.jcoderz.phoenix.report
Class SourceDirectoryReader

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

public final class SourceDirectoryReader
extends AbstractReportReader

Author:
Michael Griffel

Method Summary
protected  Map<ResourceInfo,List<Item>> 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
 

Method Detail

getItems

protected Map<ResourceInfo,List<Item>> 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.

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.


Copyright 2007 The jCoderZ Project.