public class ReportWriterFactory extends Object
| Constructor and Description |
|---|
ReportWriterFactory() |
ReportWriterFactory(int pagesThreshold) |
| Modifier and Type | Method and Description |
|---|---|
static ReportWriterFactory |
build(int pagesThreshold) |
static ReportWriterFactory |
getInstance() |
ReportWriter |
getReportWriter(net.sf.jasperreports.engine.JasperPrint _jasperPrint,
String _format,
Map<net.sf.jasperreports.engine.JRExporterParameter,Object> _parameters)
Returns a ReportWriter that which will use memory or a file depending on the parameter PAGES_THRESHOLD
|
public ReportWriterFactory()
public ReportWriterFactory(int pagesThreshold)
public ReportWriter getReportWriter(net.sf.jasperreports.engine.JasperPrint _jasperPrint, String _format, Map<net.sf.jasperreports.engine.JRExporterParameter,Object> _parameters)
_jasperPrint - _format - _parameters - public static ReportWriterFactory getInstance()
public static ReportWriterFactory build(int pagesThreshold)
pagesThreshold - an integer that represent limit of pages to use in-memory report generation, if the report
surpases this limit, it will internally use a file. if pagesThreshold = 0, it will always use
a file.Copyright © 2006–2021 FDV Solutions. All rights reserved.