public final class JRFiller extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_THREAD_INTERRUPTED |
static String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_SECTION_TYPE |
static String |
PROPERTY_DEFAULT_LOCALE
The default locale used to fill reports.
|
static String |
PROPERTY_DEFAULT_TIMEZONE
The default time zone used to fill reports.
|
Modifier and Type | Method and Description |
---|---|
protected static JRBaseFiller |
createBandReportFiller(JasperReportsContext jasperReportsContext,
JasperReport jasperReport) |
static JRBaseFiller |
createFiller(JasperReportsContext jasperReportsContext,
JasperReport jasperReport) |
static ReportFiller |
createReportFiller(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) |
public static final String EXCEPTION_MESSAGE_KEY_THREAD_INTERRUPTED
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_REPORT_SECTION_TYPE
public static final String PROPERTY_DEFAULT_LOCALE
The property is overridden by the value of the JRParameter.REPORT_LOCALE
parameter.
By default, the system/JVM locale is used.
JRParameter.REPORT_LOCALE
,
Constant Field Valuespublic static final String PROPERTY_DEFAULT_TIMEZONE
The property is overridden by the value of the JRParameter.REPORT_TIME_ZONE
parameter.
By default, the system/JVM time zone is used.
public static JasperPrint fill(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters, Connection conn) throws JRException
JRException
public static JasperPrint fill(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters, JRDataSource dataSource) throws JRException
JRException
public static JasperPrint fill(JasperReportsContext jasperReportsContext, JasperReport jasperReport, Map<String,Object> parameters) throws JRException
REPORT_DATA_SOURCE
has been specified, it will be used as data source.jasperReport
- the reportparameters
- the fill parametersJRException
public static JRBaseFiller createFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport) throws JRException
JRException
protected static JRBaseFiller createBandReportFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport) throws JRException
JRException
public static ReportFiller createReportFiller(JasperReportsContext jasperReportsContext, JasperReport jasperReport) throws JRException
JRException
Copyright © 2016. All rights reserved.