net.sf.jasperreports.engine.fill
Class JRFiller
java.lang.Object
net.sf.jasperreports.engine.fill.JRFiller
public final class JRFiller
- extends 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,
Map<String,Object> parameters)
Fills a report. |
static JasperPrint |
fill(JasperReportsContext jasperReportsContext,
JasperReport jasperReport,
Map<String,Object> parameters,
Connection conn)
|
static JasperPrint |
fill(JasperReportsContext jasperReportsContext,
JasperReport jasperReport,
Map<String,Object> parameters,
JRDataSource dataSource)
|
static JasperPrint |
fillReport(JasperReport jasperReport,
Map<String,Object> parameters)
Deprecated. Replaced by fill(JasperReportsContext, JasperReport, Map). |
static JasperPrint |
fillReport(JasperReport jasperReport,
Map<String,Object> parameters,
Connection conn)
Deprecated. Replaced by fill(JasperReportsContext, JasperReport, Map, Connection). |
static JasperPrint |
fillReport(JasperReport jasperReport,
Map<String,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 |
fill
public static JasperPrint fill(JasperReportsContext jasperReportsContext,
JasperReport jasperReport,
Map<String,Object> parameters,
Connection conn)
throws JRException
- Throws:
JRException
fill
public static JasperPrint fill(JasperReportsContext jasperReportsContext,
JasperReport jasperReport,
Map<String,Object> parameters,
JRDataSource dataSource)
throws JRException
- Throws:
JRException
fill
public static JasperPrint fill(JasperReportsContext jasperReportsContext,
JasperReport jasperReport,
Map<String,Object> parameters)
throws JRException
- Fills a report.
The data source used to fill the report is determined in the following way:
- If a non-null value of the
REPORT_DATA_SOURCE
has been specified, it will be used as data source.
- Otherwise, if the report has a query then a data source will be created based on the query and connection
parameter values.
- Otherwise, the report will be filled without a data source.
- Parameters:
jasperReport - the reportparameters - 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,
Map<String,Object> parameters,
Connection conn)
throws JRException
- Deprecated. Replaced by
fill(JasperReportsContext, JasperReport, Map, Connection).
- Throws:
JRException
fillReport
public static JasperPrint fillReport(JasperReport jasperReport,
Map<String,Object> parameters,
JRDataSource dataSource)
throws JRException
- Deprecated. Replaced by
fill(JasperReportsContext, JasperReport, Map, JRDataSource).
- Throws:
JRException
fillReport
public static JasperPrint fillReport(JasperReport jasperReport,
Map<String,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
Copyright © 2012. All Rights Reserved.