dori.jasper.engine
Class JasperRunManager

java.lang.Object
  extended bydori.jasper.engine.JasperRunManager

public class JasperRunManager
extends java.lang.Object

Façade class for the JasperReports engine.


Constructor Summary
JasperRunManager()
           
 
Method Summary
static java.lang.String runReportToHtmlFile(java.lang.String sourceFileName, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and saves it directly into a HTML file.
static java.lang.String runReportToHtmlFile(java.lang.String sourceFileName, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and saves it directly into a HTML file.
static void runReportToHtmlFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and saves it directly into a HTML file.
static void runReportToHtmlFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and saves it directly into a HTML file.
static byte[] runReportToPdf(java.io.InputStream inputStream, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and returns byte array object containing the report in PDF format.
static byte[] runReportToPdf(java.io.InputStream inputStream, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and returns byte array object containing the report in PDF format.
static byte[] runReportToPdf(JasperReport jasperReport, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and returns byte array object containing the report in PDF format.
static byte[] runReportToPdf(JasperReport jasperReport, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and returns byte array object containing the report in PDF format.
static byte[] runReportToPdf(java.lang.String sourceFileName, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and returns byte array object containing the report in PDF format.
static byte[] runReportToPdf(java.lang.String sourceFileName, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and sends it to an output stream in PDF format.
static java.lang.String runReportToPdfFile(java.lang.String sourceFileName, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and saves it directly into a PDF file.
static java.lang.String runReportToPdfFile(java.lang.String sourceFileName, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and saves it directly into a PDF file.
static void runReportToPdfFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and saves it directly into a PDF file.
static void runReportToPdfFile(java.lang.String sourceFileName, java.lang.String destFileName, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and saves it directly into a PDF file.
static void runReportToPdfStream(java.io.InputStream inputStream, java.io.OutputStream outputStream, java.util.Map parameters, java.sql.Connection conn)
          Fills a report and sends it directly to an OutputStream in PDF format.
static void runReportToPdfStream(java.io.InputStream inputStream, java.io.OutputStream outputStream, java.util.Map parameters, JRDataSource jrDataSource)
          Fills a report and sends it directly to an OutputStream in PDF format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasperRunManager

public JasperRunManager()
Method Detail

runReportToPdfFile

public static java.lang.String runReportToPdfFile(java.lang.String sourceFileName,
                                                  java.util.Map parameters,
                                                  java.sql.Connection conn)
                                           throws JRException
Fills a report and saves it directly into a PDF file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdfFile

public static void runReportToPdfFile(java.lang.String sourceFileName,
                                      java.lang.String destFileName,
                                      java.util.Map parameters,
                                      java.sql.Connection conn)
                               throws JRException
Fills a report and saves it directly into a PDF file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdfStream

public static void runReportToPdfStream(java.io.InputStream inputStream,
                                        java.io.OutputStream outputStream,
                                        java.util.Map parameters,
                                        java.sql.Connection conn)
                                 throws JRException
Fills a report and sends it directly to an OutputStream in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdf

public static byte[] runReportToPdf(java.lang.String sourceFileName,
                                    java.util.Map parameters,
                                    java.sql.Connection conn)
                             throws JRException
Fills a report and returns byte array object containing the report in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdf

public static byte[] runReportToPdf(java.io.InputStream inputStream,
                                    java.util.Map parameters,
                                    java.sql.Connection conn)
                             throws JRException
Fills a report and returns byte array object containing the report in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdf

public static byte[] runReportToPdf(JasperReport jasperReport,
                                    java.util.Map parameters,
                                    java.sql.Connection conn)
                             throws JRException
Fills a report and returns byte array object containing the report in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdfFile

public static java.lang.String runReportToPdfFile(java.lang.String sourceFileName,
                                                  java.util.Map parameters,
                                                  JRDataSource jrDataSource)
                                           throws JRException
Fills a report and saves it directly into a PDF file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdfFile

public static void runReportToPdfFile(java.lang.String sourceFileName,
                                      java.lang.String destFileName,
                                      java.util.Map parameters,
                                      JRDataSource jrDataSource)
                               throws JRException
Fills a report and saves it directly into a PDF file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdfStream

public static void runReportToPdfStream(java.io.InputStream inputStream,
                                        java.io.OutputStream outputStream,
                                        java.util.Map parameters,
                                        JRDataSource jrDataSource)
                                 throws JRException
Fills a report and sends it directly to an OutputStream in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdf

public static byte[] runReportToPdf(java.lang.String sourceFileName,
                                    java.util.Map parameters,
                                    JRDataSource jrDataSource)
                             throws JRException
Fills a report and sends it to an output stream in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdf

public static byte[] runReportToPdf(java.io.InputStream inputStream,
                                    java.util.Map parameters,
                                    JRDataSource jrDataSource)
                             throws JRException
Fills a report and returns byte array object containing the report in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToPdf

public static byte[] runReportToPdf(JasperReport jasperReport,
                                    java.util.Map parameters,
                                    JRDataSource jrDataSource)
                             throws JRException
Fills a report and returns byte array object containing the report in PDF format. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToHtmlFile

public static java.lang.String runReportToHtmlFile(java.lang.String sourceFileName,
                                                   java.util.Map parameters,
                                                   java.sql.Connection conn)
                                            throws JRException
Fills a report and saves it directly into a HTML file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToHtmlFile

public static void runReportToHtmlFile(java.lang.String sourceFileName,
                                       java.lang.String destFileName,
                                       java.util.Map parameters,
                                       java.sql.Connection conn)
                                throws JRException
Fills a report and saves it directly into a HTML file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToHtmlFile

public static java.lang.String runReportToHtmlFile(java.lang.String sourceFileName,
                                                   java.util.Map parameters,
                                                   JRDataSource jrDataSource)
                                            throws JRException
Fills a report and saves it directly into a HTML file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException

runReportToHtmlFile

public static void runReportToHtmlFile(java.lang.String sourceFileName,
                                       java.lang.String destFileName,
                                       java.util.Map parameters,
                                       JRDataSource jrDataSource)
                                throws JRException
Fills a report and saves it directly into a HTML file. The intermediate JasperPrint object is not saved on disk.

Throws:
JRException


Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.