01: package org.netbeans.modules.reportgenerator.api;
02:
03: import java.io.File;
04: import java.io.OutputStream;
05:
06: /**
07: * ReportGenerator is the base interface implemented
08: * by a type of ReportGenerator.
09: *
10: * For example there will be one ReportGenerator for pdf
11: * reports, one for html reports etc.
12: * @author radval
13: *
14: */
15: public interface ReportGenerator {
16:
17: /**
18: * Generate a specific kind of report given the Report object.
19: * @param report
20: * @throws ReportException
21: */
22: void generateReport(Report report) throws ReportException;
23:
24: }
|