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 4595 2011-09-08 15:55:10Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
static JRBaseFiller createFiller(JasperReport jasperReport)
           
static JasperPrint fillReport(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters)
          Fills a report.
static JasperPrint fillReport(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> parameters, java.sql.Connection conn)
           
static JasperPrint fillReport(JasperReport jasperReport, java.util.Map<java.lang.String,java.lang.Object> 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<java.lang.String,java.lang.Object> parameters,
                                     java.sql.Connection conn)
                              throws JRException
Throws:
JRException

fillReport

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

fillReport

public static JasperPrint fillReport(JasperReport jasperReport,
                                     java.util.Map<java.lang.String,java.lang.Object> 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