Save This Page
Home » jasperreports-3.0.0-project » net.sf.jasperreports.engine.fill » [javadoc | source]
net.sf.jasperreports.engine.fill
abstract public class: JRFiller [javadoc | source]
java.lang.Object
   net.sf.jasperreports.engine.fill.JRFiller
Method from net.sf.jasperreports.engine.fill.JRFiller Summary:
createFiller,   fillReport,   fillReport,   fillReport
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.sf.jasperreports.engine.fill.JRFiller Detail:
 public static JRBaseFiller createFiller(JasperReport jasperReport) throws JRException 
 public static JasperPrint fillReport(JasperReport jasperReport,
    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.
 public static JasperPrint fillReport(JasperReport jasperReport,
    Map parameters,
    Connection conn) throws JRException 
 public static JasperPrint fillReport(JasperReport jasperReport,
    Map parameters,
    JRDataSource dataSource) throws JRException