Package | Description |
---|---|
net.sf.jasperreports.engine |
Provides access to the library's main functionality through façade classes for compiling, filling
and exporting reports and also publishes the library's main interfaces and classes.
|
net.sf.jasperreports.engine.data |
Provides various report data source implementations and allows creating custom data sources.
|
net.sf.jasperreports.engine.fill |
Contains fill time implementations for the library's main interfaces and the entire engine used in the filling process (the actual core of JasperReports).
|
net.sf.jasperreports.engine.query | |
net.sf.jasperreports.olap | |
net.sf.jasperreports.olap.xmla |
Modifier and Type | Interface and Description |
---|---|
interface |
JRRewindableDataSource
This interface represents a data source which can go back to the first element.
|
Modifier and Type | Class and Description |
---|---|
class |
JREmptyDataSource
A simple data source implementation that simulates a data source with a given number of virtual records inside.
|
class |
JRResultSetDataSource
An implementation of a data source that uses a supplied ResultSet.
|
Modifier and Type | Method and Description |
---|---|
JRDataSource |
JRDataSourceProvider.create(JasperReport report)
Creates and returns a new instance of the provided data source.
|
Modifier and Type | Method and Description |
---|---|
void |
JRDataSourceProvider.dispose(JRDataSource dataSource)
Disposes the data source previously obtained using the
create method. |
static JasperPrint |
JasperFillManager.fillReport(java.io.InputStream inputStream,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource)
Fills the compiled report design loaded from the supplied input stream and returns
the generated report object.
|
static JasperPrint |
JasperFillManager.fillReport(JasperReport jasperReport,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource)
Fills the compiled report design supplied as the first parameter and returns
the generated report object.
|
static JasperPrint |
JasperFillManager.fillReport(java.lang.String sourceFileName,
java.util.Map<java.lang.String,java.lang.Object> params,
JRDataSource dataSource)
Fills the compiled report design loaded from the specified file and returns
the generated report object.
|
static void |
JasperFillManager.fillReportToFile(JasperReport jasperReport,
java.lang.String destFileName,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource)
Fills the compiled report design received as the first parameter
and places the result in the file specified by the second parameter.
|
static java.lang.String |
JasperFillManager.fillReportToFile(java.lang.String sourceFileName,
java.util.Map<java.lang.String,java.lang.Object> params,
JRDataSource dataSource)
Fills the compiled report design loaded from the specified file.
|
static void |
JasperFillManager.fillReportToFile(java.lang.String sourceFileName,
java.lang.String destFileName,
java.util.Map<java.lang.String,java.lang.Object> params,
JRDataSource dataSource)
Fills the compiled report design loaded from the file received as the first parameter
and places the result in the file specified by the second parameter.
|
static void |
JasperFillManager.fillReportToStream(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource)
Fills the compiled report design loaded from the supplied input stream and writes
the generated report object to the output stream specified by the second parameter.
|
static void |
JasperFillManager.fillReportToStream(JasperReport jasperReport,
java.io.OutputStream outputStream,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource)
Fills the compiled report design supplied as the first parameter and writes
the generated report object to the output stream specified by the second parameter.
|
static java.lang.String |
JasperRunManager.runReportToHtmlFile(java.lang.String sourceFileName,
java.util.Map<java.lang.String,java.lang.Object> params,
JRDataSource jrDataSource)
Fills a report and saves it directly into a HTML file.
|
static void |
JasperRunManager.runReportToHtmlFile(java.lang.String sourceFileName,
java.lang.String destFileName,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource jrDataSource)
Fills a report and saves it directly into a HTML file.
|
static byte[] |
JasperRunManager.runReportToPdf(java.io.InputStream inputStream,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource jrDataSource)
Fills a report and returns byte array object containing the report in PDF format.
|
static byte[] |
JasperRunManager.runReportToPdf(JasperReport jasperReport,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource jrDataSource)
Fills a report and returns byte array object containing the report in PDF format.
|
static byte[] |
JasperRunManager.runReportToPdf(java.lang.String sourceFileName,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource jrDataSource)
Fills a report and sends it to an output stream in PDF format.
|
static java.lang.String |
JasperRunManager.runReportToPdfFile(java.lang.String sourceFileName,
java.util.Map<java.lang.String,java.lang.Object> params,
JRDataSource jrDataSource)
Fills a report and saves it directly into a PDF file.
|
static void |
JasperRunManager.runReportToPdfFile(java.lang.String sourceFileName,
java.lang.String destFileName,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource jrDataSource)
Fills a report and saves it directly into a PDF file.
|
static void |
JasperRunManager.runReportToPdfStream(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource jrDataSource)
Fills a report and sends it directly to an OutputStream in PDF format.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractXmlDataSource
Abstract XML data source implementation that allows to access the data from a xml
document using XPath expressions.
|
class |
JaxenXmlDataSource |
class |
JRAbstractBeanDataSource |
class |
JRAbstractTextDataSource
Abstract text data source, containing methods used to parse text
data into numerical or date values.
|
class |
JRBeanArrayDataSource |
class |
JRBeanCollectionDataSource |
class |
JRCsvDataSource
This datasource implementation reads a CSV stream.
|
class |
JRHibernateAbstractDataSource
Base abstract Hibernate data source.
|
class |
JRHibernateIterateDataSource
Hibernate data source that uses
org.hibernate.Query.iterate() . |
class |
JRHibernateListDataSource
Hibernate data source that uses
org.hibernate.Query.list() . |
class |
JRHibernateScrollDataSource
Hibernate data source that uses
org.hibernate.Query.scroll() . |
class |
JRJpaDataSource
Java Persistence API data source that uses
javax.persistence.Query.getResultList() . |
class |
JRMapArrayDataSource |
class |
JRMapCollectionDataSource |
class |
JRSortableDataSource
Deprecated.
Replaced by
ListOfArrayDataSource and DatasetSortUtil . |
class |
JRTableModelDataSource |
class |
JRXlsDataSource
This data source implementation reads an XLS stream.
|
class |
JRXlsxDataSource
This data source implementation reads an XLSX stream.
|
class |
JRXmlDataSource
XML data source implementation that allows to access the data from a xml
document using XPath expressions.
|
class |
ListOfArrayDataSource |
class |
XalanXmlDataSource |
Modifier and Type | Method and Description |
---|---|
JRDataSource |
JRCsvDataSourceProvider.create(JasperReport report) |
Modifier and Type | Method and Description |
---|---|
void |
JRCsvDataSourceProvider.dispose(JRDataSource dataSource) |
Constructor and Description |
---|
JRSortableDataSource(JRDataSource ds,
JRField[] fields,
JRSortField[] sortFields,
java.util.Locale locale)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected JRDataSource |
JRFillDataset.dataSource
The data source.
|
protected JRDataSource |
AsynchronousFillHandle.dataSource |
Modifier and Type | Method and Description |
---|---|
static JRDataSource |
DatasetSortUtil.getSortedDataSource(JRBaseFiller filler,
JRFillDataset dataset,
java.util.Locale locale) |
Modifier and Type | Method and Description |
---|---|
static AsynchronousFillHandle |
AsynchronousFillHandle.createHandle(JasperReport jasperReport,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource)
Creates an asychronous filling handle.
|
JasperPrint |
JRBaseFiller.fill(java.util.Map<java.lang.String,java.lang.Object> parameterValues,
JRDataSource ds) |
static JasperPrint |
JRFiller.fillReport(JasperReport jasperReport,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource) |
void |
JRFillDataset.setDatasourceParameterValue(java.util.Map<java.lang.String,java.lang.Object> parameterValues,
JRDataSource ds)
Sets the data source to be used.
|
protected void |
JRBaseFiller.setDatasourceParameterValue(java.util.Map<java.lang.String,java.lang.Object> parameterValues,
JRDataSource ds) |
Constructor and Description |
---|
AsynchronousFillHandle(JasperReport jasperReport,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource) |
AsynchronousFillHandle(JasperReport jasperReport,
java.util.Map<java.lang.String,java.lang.Object> parameters,
JRDataSource dataSource,
java.sql.Connection conn) |
Modifier and Type | Method and Description |
---|---|
JRDataSource |
JRJpaQueryExecuter.createDatasource() |
JRDataSource |
JRJdbcQueryExecuter.createDatasource() |
JRDataSource |
JRHibernateQueryExecuter.createDatasource()
Creates an instance of
JRHibernateListDataSource ,
JRHibernateIterateDataSource or
JRHibernateScrollDataSource , depending on the |
JRDataSource |
JRXlsQueryExecuter.createDatasource() |
JRDataSource |
JREmptyQueryExecuter.createDatasource() |
JRDataSource |
JaxenXPathQueryExecuter.createDatasource() |
JRDataSource |
JRXlsxQueryExecuter.createDatasource() |
JRDataSource |
XalanXPathQueryExecuter.createDatasource() |
JRDataSource |
JRCsvQueryExecuter.createDatasource() |
JRDataSource |
JRXPathQueryExecuter.createDatasource() |
JRDataSource |
JRQueryExecuter.createDatasource()
Executes the query and creates a
JRDataSource out of the result. |
protected JRDataSource |
JRJpaQueryExecuter.createResultDatasource()
Creates a data source out of the query result.
|
protected JRDataSource |
JRHibernateQueryExecuter.createResultDatasource()
Creates a data source out of the query result.
|
Modifier and Type | Class and Description |
---|---|
class |
JRMondrianDataSource |
class |
JROlapDataSource |
Modifier and Type | Method and Description |
---|---|
JRDataSource |
JRMondrianQueryExecuter.createDatasource() |
Modifier and Type | Method and Description |
---|---|
JRDataSource |
JRXmlaQueryExecuter.createDatasource() |
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com