Fa�ade class for the JasperReports engine.
| Method from net.sf.jasperreports.engine.JasperRunManager Detail: |
public static String runReportToHtmlFile(String sourceFileName,
Map parameters) throws JRException {
File sourceFile = new File(sourceFileName);
/* */
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(sourceFile);
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters);
/* */
File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".html");
String destFileName = destFile.toString();
JasperExportManager.exportReportToHtmlFile(jasperPrint, destFileName);
return destFileName;
}
Fills a report and saves it directly into a HTML file.
The intermediate JasperPrint object is not saved on disk. |
public static String runReportToHtmlFile(String sourceFileName,
Map parameters,
Connection conn) throws JRException {
File sourceFile = new File(sourceFileName);
/* */
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(sourceFile);
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, conn);
/* */
File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".html");
String destFileName = destFile.toString();
JasperExportManager.exportReportToHtmlFile(jasperPrint, destFileName);
return destFileName;
}
Fills a report and saves it directly into a HTML file.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToHtmlFile(String sourceFileName,
String destFileName,
Map parameters) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters);
JasperExportManager.exportReportToHtmlFile(jasperPrint, destFileName);
}
Fills a report and saves it directly into a HTML file.
The intermediate JasperPrint object is not saved on disk. |
public static String runReportToHtmlFile(String sourceFileName,
Map parameters,
JRDataSource jrDataSource) throws JRException {
File sourceFile = new File(sourceFileName);
/* */
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(sourceFile);
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, jrDataSource);
/* */
File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".html");
String destFileName = destFile.toString();
JasperExportManager.exportReportToHtmlFile(jasperPrint, destFileName);
return destFileName;
}
Fills a report and saves it directly into a HTML file.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToHtmlFile(String sourceFileName,
String destFileName,
Map parameters,
Connection conn) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters, conn);
JasperExportManager.exportReportToHtmlFile(jasperPrint, destFileName);
}
Fills a report and saves it directly into a HTML file.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToHtmlFile(String sourceFileName,
String destFileName,
Map parameters,
JRDataSource jrDataSource) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters, jrDataSource);
/* */
JasperExportManager.exportReportToHtmlFile(jasperPrint, destFileName);
}
Fills a report and saves it directly into a HTML file.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(String sourceFileName,
Map parameters) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(InputStream inputStream,
Map parameters) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(inputStream, parameters);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(JasperReport jasperReport,
Map parameters) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(String sourceFileName,
Map parameters,
Connection conn) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters, conn);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(InputStream inputStream,
Map parameters,
Connection conn) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(inputStream, parameters, conn);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(JasperReport jasperReport,
Map parameters,
Connection conn) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, conn);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(String sourceFileName,
Map parameters,
JRDataSource jrDataSource) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters, jrDataSource);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and sends it to an output stream in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(InputStream inputStream,
Map parameters,
JRDataSource jrDataSource) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(inputStream, parameters, jrDataSource);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static byte[] runReportToPdf(JasperReport jasperReport,
Map parameters,
JRDataSource jrDataSource) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, jrDataSource);
return JasperExportManager.exportReportToPdf(jasperPrint);
}
Fills a report and returns byte array object containing the report in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static String runReportToPdfFile(String sourceFileName,
Map parameters) throws JRException {
File sourceFile = new File(sourceFileName);
/* */
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(sourceFile);
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters);
/* */
File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".pdf");
String destFileName = destFile.toString();
JasperExportManager.exportReportToPdfFile(jasperPrint, destFileName);
return destFileName;
}
Fills a report and saves it directly into a PDF file.
The intermediate JasperPrint object is not saved on disk. |
public static String runReportToPdfFile(String sourceFileName,
Map parameters,
Connection conn) throws JRException {
File sourceFile = new File(sourceFileName);
/* */
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(sourceFile);
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, conn);
/* */
File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".pdf");
String destFileName = destFile.toString();
JasperExportManager.exportReportToPdfFile(jasperPrint, destFileName);
return destFileName;
}
Fills a report and saves it directly into a PDF file.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToPdfFile(String sourceFileName,
String destFileName,
Map parameters) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters);
JasperExportManager.exportReportToPdfFile(jasperPrint, destFileName);
}
Fills a report and saves it directly into a PDF file.
The intermediate JasperPrint object is not saved on disk. |
public static String runReportToPdfFile(String sourceFileName,
Map parameters,
JRDataSource jrDataSource) throws JRException {
File sourceFile = new File(sourceFileName);
/* */
JasperReport jasperReport = (JasperReport)JRLoader.loadObject(sourceFile);
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, jrDataSource);
/* */
File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".pdf");
String destFileName = destFile.toString();
JasperExportManager.exportReportToPdfFile(jasperPrint, destFileName);
return destFileName;
}
Fills a report and saves it directly into a PDF file.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToPdfFile(String sourceFileName,
String destFileName,
Map parameters,
Connection conn) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters, conn);
JasperExportManager.exportReportToPdfFile(jasperPrint, destFileName);
}
Fills a report and saves it directly into a PDF file.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToPdfFile(String sourceFileName,
String destFileName,
Map parameters,
JRDataSource jrDataSource) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(sourceFileName, parameters, jrDataSource);
/* */
JasperExportManager.exportReportToPdfFile(jasperPrint, destFileName);
}
Fills a report and saves it directly into a PDF file.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToPdfStream(InputStream inputStream,
OutputStream outputStream,
Map parameters) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(inputStream, parameters);
JasperExportManager.exportReportToPdfStream(jasperPrint, outputStream);
}
Fills a report and sends it directly to an OutputStream in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToPdfStream(InputStream inputStream,
OutputStream outputStream,
Map parameters,
Connection conn) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(inputStream, parameters, conn);
JasperExportManager.exportReportToPdfStream(jasperPrint, outputStream);
}
Fills a report and sends it directly to an OutputStream in PDF format.
The intermediate JasperPrint object is not saved on disk. |
public static void runReportToPdfStream(InputStream inputStream,
OutputStream outputStream,
Map parameters,
JRDataSource jrDataSource) throws JRException {
/* */
JasperPrint jasperPrint = JasperFillManager.fillReport(inputStream, parameters, jrDataSource);
JasperExportManager.exportReportToPdfStream(jasperPrint, outputStream);
}
Fills a report and sends it directly to an OutputStream in PDF format.
The intermediate JasperPrint object is not saved on disk. |