| java.lang.Object net.sf.jasperreports.engine.fill.JRFiller
JRFiller | abstract public class JRFiller (Code) | | author: Teodor Danciu (teodord@users.sourceforge.net) version: $Id: JRFiller.java 1229 2006-04-19 10:27:35Z teodord $ |
fillReport | public static JasperPrint fillReport(JasperReport jasperReport, Map parameters) throws JRException(Code) | | Fills a report.
The data source used to fill the report is determined in the following way:
- If a non-null value of the
net.sf.jasperreports.engine.JRParameter.REPORT_DATA_SOURCE 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 report Parameters: parameters - the fill parameters the filled report throws: JRException - |
|
|