Method Summary |
|
public static JasperReport | compileReport(String sourceFileName) Compiles the XML report design file received as parameter, and returns
the compiled report design object. |
public static JasperReport | compileReport(InputStream inputStream) Compiles the serialized report design object read from the supplied input stream and
returns the generated compiled report design object. |
public static JasperReport | compileReport(JasperDesign jasperDesign) Compiles the report design object received as parameter and
returns the generated compiled report design object. |
public static String | compileReportToFile(String sourceFileName) Compiles the XML report design file specified by the parameter. |
public static void | compileReportToFile(String sourceFileName, String destFileName) Compiles the XML report design file received as the first parameter, placing the result
in the file specified by the second parameter.
The resulting file will contain a serialized instance of a
net.sf.jasperreports.engine.JasperReport object representing
the compiled report design. |
public static void | compileReportToFile(JasperDesign jasperDesign, String destFileName) Compiles the report design object received as the first parameter, placing the result
in the file specified by the second parameter. |
public static void | compileReportToStream(InputStream inputStream, OutputStream outputStream) Compiles the XML representation of the report design read from the supplied input stream and
writes the generated compiled report design object to the output stream specified
by the second parameter. |
public static void | compileReportToStream(JasperDesign jasperDesign, OutputStream outputStream) Compiles the report design object represented by the first parameter and
writes the generated compiled report design object to the output stream specified
by the second parameter. |
public static JREvaluator | loadEvaluator(JasperReport jasperReport, JRDataset dataset) |
public static JREvaluator | loadEvaluator(JasperReport jasperReport, JRCrosstab crosstab) |
public static JREvaluator | loadEvaluator(JasperReport jasperReport) |
public static Collection | verifyDesign(JasperDesign jasperDesign) Verifies the validity and consistency of the report design object. |
public static String | writeReportToXml(JRReport report) Generates the XML representation of the report design object supplied as parameter
using the "UTF-8" enconding. |
public static String | writeReportToXmlFile(String sourceFileName) Generates the XML representation of the report design loaded from the specified filename. |
public static void | writeReportToXmlFile(String sourceFileName, String destFileName) Generates the XML representation of the report design loaded from the first file parameter
and place it in the file specified by the second parameter. |
public static void | writeReportToXmlFile(JRReport report, String destFileName) Generates the XML representation of the report design supplied as the first parameter
and place it in the file specified by the second parameter. |
public static void | writeReportToXmlStream(InputStream inputStream, OutputStream outputStream) Generates the XML representation of the serialized report design object read from the supplied
input stream abd writes it to the specified output stream, using the "UTF-8" encoding. |
public static void | writeReportToXmlStream(JRReport report, OutputStream outputStream) Generates the XML representation of the report design object supplied as parameter
and writes it to the specified output stream, using the "UTF-8" encoding. |