org.objectweb.jac.aspects.gui
Class Reports

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.Reports

public class Reports
extends Object


Constructor Summary
Reports()
           
 
Method Summary
static void genReport(String reportDef, File pdfFile)
          Generate a PDF report
static void genReport(String reportDef, File pdfFile, Map parameters)
          Generate a PDF report
static void genReport(String reportDef, OutputStream out, Map parameters, dori.jasper.engine.JRDataSource dataSource)
          Generate a PDF report
static dori.jasper.engine.JasperReport getJasperReport(String reportDef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reports

public Reports()
Method Detail

genReport

public static void genReport(String reportDef,
                             File pdfFile)
                      throws dori.jasper.engine.JRException
Generate a PDF report

Parameters:
reportDef - resource name of the XML report definition file
pdfFile - file where to store the resulting PDF document
dori.jasper.engine.JRException

genReport

public static void genReport(String reportDef,
                             File pdfFile,
                             Map parameters)
                      throws dori.jasper.engine.JRException
Generate a PDF report

Parameters:
reportDef - resource name of the XML report definition file
pdfFile - file where to store the resulting PDF document
parameters - the parameters to fill the report with
dori.jasper.engine.JRException

genReport

public static void genReport(String reportDef,
                             OutputStream out,
                             Map parameters,
                             dori.jasper.engine.JRDataSource dataSource)
                      throws dori.jasper.engine.JRException
Generate a PDF report

Parameters:
reportDef - resource name of the XML report definition file
out - file where to store the resulting PDF document
parameters - the parameters to fill the report with
dataSource - the data source
dori.jasper.engine.JRException

getJasperReport

public static dori.jasper.engine.JasperReport getJasperReport(String reportDef)
                                                       throws dori.jasper.engine.JRException
dori.jasper.engine.JRException