Package org.apache.rat.report

Examples of org.apache.rat.report.RatReport.startReport()


    public void startReport() throws RatException {
        final int length = reporters.size();
        for (int i=0;  i<length;  i++) {
            final RatReport report = (RatReport) reporters.get(i);
            report.startReport();
        }
    }

    public void endReport() throws RatException {
        final int length = reporters.size();
View Full Code Here


    public static ClaimStatistic report(final IReportable container, final Writer out,
            ReportConfiguration pConfiguration) throws IOException, RatException {
        IXmlWriter writer = new XmlWriter(out);
        final ClaimStatistic statistic = new ClaimStatistic();
        RatReport report = XmlReportFactory.createStandardReport(writer, statistic, pConfiguration);
        report.startReport();
        container.run(report);
        report.endReport();
        writer.closeDocument();
        return statistic;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.