net.sf.jasperreports.engine.fill
Class JRFiller
java.lang.Object
net.sf.jasperreports.engine.fill.JRFiller
public abstract class JRFiller
- extends java.lang.Object
- Version:
- $Id: JRFiller.java 1229 2006-04-19 10:27:35Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRFiller
public JRFiller()
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:
- 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(JasperReport jasperReport)
throws JRException
- Throws:
JRException
© 2001-2006 JasperSoft Corporation www.jaspersoft.com