net.sf.jasperreports.engine.fill
Class JRFiller

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.JRFiller

public final class JRFiller
extends java.lang.Object

Version:
$Id: JRFiller.java 3713 2010-04-08 11:06:05Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
static JRBaseFiller createFiller(JasperReport jasperReport)
           
static JasperPrint fillReport(JasperReport jasperReport, java.util.Map parameters)
          Fills a report.
static JasperPrint fillReport(JasperReport jasperReport, java.util.Map parameters, java.sql.Connection conn)
           
static JasperPrint fillReport(JasperReport jasperReport, java.util.Map parameters, JRDataSource dataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fillReport

public static JasperPrint fillReport(JasperReport jasperReport,
                                     java.util.Map parameters,
                                     java.sql.Connection conn)
                              throws JRException
Throws:
JRException

fillReport

public static JasperPrint fillReport(JasperReport jasperReport,
                                     java.util.Map parameters,
                                     JRDataSource dataSource)
                              throws JRException
Throws:
JRException

fillReport

public static JasperPrint fillReport(JasperReport jasperReport,
                                     java.util.Map parameters)
                              throws JRException
Fills a report.

The data source used to fill the report is determined in the following way:

Parameters:
jasperReport - the report
parameters - the fill parameters
Returns:
the filled report
Throws:
JRException

createFiller

public static JRBaseFiller createFiller(JasperReport jasperReport)
                                 throws JRException
Throws:
JRException


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com