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 5180 2012-03-29 13:23:12Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

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

Method Detail

fill

public static JasperPrint fill(JasperReportsContext jasperReportsContext,
                               JasperReport jasperReport,
                               java.util.Map<java.lang.String,java.lang.Object> parameters,
                               java.sql.Connection conn)
                        throws JRException
Throws:
JRException

fill

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

fill

public static JasperPrint fill(JasperReportsContext jasperReportsContext,
                               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(JasperReportsContext jasperReportsContext,
                                        JasperReport jasperReport)
                                 throws JRException
Throws:
JRException

fillReport

public static JasperPrint fillReport(JasperReport jasperReport,
                                     java.util.Map<java.lang.String,java.lang.Object> parameters,
                                     java.sql.Connection conn)
                              throws JRException
Deprecated. Replaced by fill(JasperReportsContext, JasperReport, Map, Connection).

Throws:
JRException

fillReport

public static JasperPrint fillReport(JasperReport jasperReport,
                                     java.util.Map<java.lang.String,java.lang.Object> parameters,
                                     JRDataSource dataSource)
                              throws JRException
Deprecated. Replaced by fill(JasperReportsContext, JasperReport, Map, JRDataSource).

Throws:
JRException

fillReport

public static JasperPrint fillReport(JasperReport jasperReport,
                                     java.util.Map<java.lang.String,java.lang.Object> parameters)
                              throws JRException
Deprecated. Replaced by fill(JasperReportsContext, JasperReport, Map).

Throws:
JRException

createFiller

public static JRBaseFiller createFiller(JasperReport jasperReport)
                                 throws JRException
Deprecated. Replaced by createFiller(JasperReportsContext, JasperReport).

Throws:
JRException


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com