dori.jasper.engine
Class JasperCompileManager

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

public class JasperCompileManager
extends java.lang.Object

Façade class for the JasperReports engine.


Constructor Summary
JasperCompileManager()
           
 
Method Summary
static JasperReport compileReport(java.io.InputStream inputStream)
           
static JasperReport compileReport(JasperDesign jasperDesign)
           
static JasperReport compileReport(java.lang.String sourceFileName)
           
static void compileReportToFile(JasperDesign jasperDesign, java.lang.String destFileName)
           
static java.lang.String compileReportToFile(java.lang.String sourceFileName)
           
static void compileReportToFile(java.lang.String sourceFileName, java.lang.String destFileName)
           
static void compileReportToStream(java.io.InputStream inputStream, java.io.OutputStream outputStream)
           
static void compileReportToStream(JasperDesign jasperDesign, java.io.OutputStream outputStream)
           
static java.util.Collection verifyDesign(JasperDesign jasperDesign)
           
static java.lang.String writeReportToXml(JRReport report)
           
static void writeReportToXmlFile(JRReport report, java.lang.String destFileName)
           
static java.lang.String writeReportToXmlFile(java.lang.String sourceFileName)
           
static void writeReportToXmlFile(java.lang.String sourceFileName, java.lang.String destFileName)
           
static void writeReportToXmlStream(java.io.InputStream inputStream, java.io.OutputStream outputStream)
           
static void writeReportToXmlStream(JRReport report, java.io.OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasperCompileManager

public JasperCompileManager()
Method Detail

compileReportToFile

public static java.lang.String compileReportToFile(java.lang.String sourceFileName)
                                            throws JRException
Throws:
JRException

compileReportToFile

public static void compileReportToFile(java.lang.String sourceFileName,
                                       java.lang.String destFileName)
                                throws JRException
Throws:
JRException

compileReportToFile

public static void compileReportToFile(JasperDesign jasperDesign,
                                       java.lang.String destFileName)
                                throws JRException
Throws:
JRException

compileReport

public static JasperReport compileReport(java.lang.String sourceFileName)
                                  throws JRException
Throws:
JRException

compileReportToStream

public static void compileReportToStream(java.io.InputStream inputStream,
                                         java.io.OutputStream outputStream)
                                  throws JRException
Throws:
JRException

compileReportToStream

public static void compileReportToStream(JasperDesign jasperDesign,
                                         java.io.OutputStream outputStream)
                                  throws JRException
Throws:
JRException

compileReport

public static JasperReport compileReport(java.io.InputStream inputStream)
                                  throws JRException
Throws:
JRException

compileReport

public static JasperReport compileReport(JasperDesign jasperDesign)
                                  throws JRException
Throws:
JRException

verifyDesign

public static java.util.Collection verifyDesign(JasperDesign jasperDesign)
                                         throws JRException
Throws:
JRException

writeReportToXmlFile

public static java.lang.String writeReportToXmlFile(java.lang.String sourceFileName)
                                             throws JRException
Throws:
JRException

writeReportToXmlFile

public static void writeReportToXmlFile(java.lang.String sourceFileName,
                                        java.lang.String destFileName)
                                 throws JRException
Throws:
JRException

writeReportToXmlFile

public static void writeReportToXmlFile(JRReport report,
                                        java.lang.String destFileName)
                                 throws JRException
Throws:
JRException

writeReportToXmlStream

public static void writeReportToXmlStream(java.io.InputStream inputStream,
                                          java.io.OutputStream outputStream)
                                   throws JRException
Throws:
JRException

writeReportToXmlStream

public static void writeReportToXmlStream(JRReport report,
                                          java.io.OutputStream outputStream)
                                   throws JRException
Throws:
JRException

writeReportToXml

public static java.lang.String writeReportToXml(JRReport report)
                                         throws JRException
Throws:
JRException


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