| java.lang.Object net.sf.jasperreports.engine.JasperExportManager
Method Summary | |
public static String | exportReportToHtmlFile(String sourceFileName) Exports the generated report file specified by the parameter into HTML format.
The resulting HTML file has the same name as the report object inside the source file,
plus the *.html extension and it is located in the same directory as the source file.
The images are placed as distinct files inside a directory having the same name
as the HTML destination file, plus the "_files" suffix. | public static void | exportReportToHtmlFile(String sourceFileName, String destFileName) Exports the generated report file specified by the first parameter into HTML format,
placing the result into the second file parameter.
The images are placed as distinct files inside a directory having the same name
as the HTML destination file, plus the "_files" suffix. | public static void | exportReportToHtmlFile(JasperPrint jasperPrint, String destFileName) Exports the generated report object received as parameter into HTML format,
placing the result into the second file parameter.
The images are placed as distinct files inside a directory having the same name
as the HTML destination file, plus the "_files" suffix. | public static byte[] | exportReportToPdf(JasperPrint jasperPrint) Exports the generated report object received as parameter into PDF format and
returns the binary content as a byte array. | public static String | exportReportToPdfFile(String sourceFileName) Exports the generated report file specified by the parameter into PDF format. | public static void | exportReportToPdfFile(String sourceFileName, String destFileName) Exports the generated report file specified by the first parameter into PDF format,
the result being placed in the second file parameter. | public static void | exportReportToPdfFile(JasperPrint jasperPrint, String destFileName) Exports the generated report file specified by the first parameter into PDF format,
the result being placed in the second file parameter. | public static void | exportReportToPdfStream(InputStream inputStream, OutputStream outputStream) Exports the generated report read from the supplied input stream into PDF format and
writes the results to the output stream specified by the second parameter. | public static void | exportReportToPdfStream(JasperPrint jasperPrint, OutputStream outputStream) Exports the generated report object received as first parameter into PDF format and
writes the results to the output stream specified by the second parameter. | public static String | exportReportToXml(JasperPrint jasperPrint) Exports the generated report object supplied as parameter into XML format
and returs the result as String.
The images are embedded into the XML content itself using the Base64 encoder. | public static String | exportReportToXmlFile(String sourceFileName, boolean isEmbeddingImages) Exports the generated report file specified by the parameter into XML format.
The resulting XML file has the same name as the report object inside the source file,
plus the *.jrpxml extension and it is located in the same directory as the source file.
When exporting to XML format, the images can be either embedded in the XML content
itself using the Base64 encoder or be referenced as external resources.
If not embedded, the images are placed as distinct files inside a directory
having the same name as the XML destination file, plus the "_files" suffix. | public static void | exportReportToXmlFile(String sourceFileName, String destFileName, boolean isEmbeddingImages) Exports the generated report file specified by the first parameter into XML format,
placing the result into the second file parameter.
If not embedded into the XML content itself using the Base64 encoder,
the images are placed as distinct files inside a directory having the same name
as the XML destination file, plus the "_files" suffix. | public static void | exportReportToXmlFile(JasperPrint jasperPrint, String destFileName, boolean isEmbeddingImages) Exports the generated report object received as parameter into XML format,
placing the result into the second file parameter.
If not embedded into the XML content itself using the Base64 encoder,
the images are placed as distinct files inside a directory having the same name
as the XML destination file, plus the "_files" suffix. | public static void | exportReportToXmlStream(InputStream inputStream, OutputStream outputStream) Exports the generated report object read from the supplied input stream into XML format,
and writes the result to the output stream specified by the second parameter.
The images are embedded into the XML content itself using the Base64 encoder. | public static void | exportReportToXmlStream(JasperPrint jasperPrint, OutputStream outputStream) Exports the generated report object supplied as the first parameter into XML format,
and writes the result to the output stream specified by the second parameter.
The images are embedded into the XML content itself using the Base64 encoder. |
exportReportToHtmlFile | public static String exportReportToHtmlFile(String sourceFileName) throws JRException(Code) | | Exports the generated report file specified by the parameter into HTML format.
The resulting HTML file has the same name as the report object inside the source file,
plus the *.html extension and it is located in the same directory as the source file.
The images are placed as distinct files inside a directory having the same name
as the HTML destination file, plus the "_files" suffix.
Parameters: sourceFileName - source file containing the generated report resulting HTML file name See Also: net.sf.jasperreports.engine.export.JRHtmlExporter |
exportReportToHtmlFile | public static void exportReportToHtmlFile(String sourceFileName, String destFileName) throws JRException(Code) | | Exports the generated report file specified by the first parameter into HTML format,
placing the result into the second file parameter.
The images are placed as distinct files inside a directory having the same name
as the HTML destination file, plus the "_files" suffix.
Parameters: sourceFileName - source file containing the generated report Parameters: destFileName - file name to place the HTML content into See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToHtmlFile | public static void exportReportToHtmlFile(JasperPrint jasperPrint, String destFileName) throws JRException(Code) | | Exports the generated report object received as parameter into HTML format,
placing the result into the second file parameter.
The images are placed as distinct files inside a directory having the same name
as the HTML destination file, plus the "_files" suffix.
Parameters: jasperPrint - report object to export Parameters: destFileName - file name to place the HTML content into See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToPdf | public static byte[] exportReportToPdf(JasperPrint jasperPrint) throws JRException(Code) | | Exports the generated report object received as parameter into PDF format and
returns the binary content as a byte array.
Parameters: jasperPrint - report object to export byte array representing the resulting PDF content See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToPdfFile | public static String exportReportToPdfFile(String sourceFileName) throws JRException(Code) | | Exports the generated report file specified by the parameter into PDF format.
The resulting PDF file has the same name as the report object inside the source file,
plus the *.pdf extension and it is located in the same directory as the source file.
Parameters: sourceFileName - source file containing the generated report resulting PDF file name See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToPdfFile | public static void exportReportToPdfFile(String sourceFileName, String destFileName) throws JRException(Code) | | Exports the generated report file specified by the first parameter into PDF format,
the result being placed in the second file parameter.
Parameters: sourceFileName - source file containing the generated report Parameters: destFileName - file name to place the PDF content into See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToPdfFile | public static void exportReportToPdfFile(JasperPrint jasperPrint, String destFileName) throws JRException(Code) | | Exports the generated report file specified by the first parameter into PDF format,
the result being placed in the second file parameter.
Parameters: jasperPrint - report object to export Parameters: destFileName - file name to place the PDF content into See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToPdfStream | public static void exportReportToPdfStream(InputStream inputStream, OutputStream outputStream) throws JRException(Code) | | Exports the generated report read from the supplied input stream into PDF format and
writes the results to the output stream specified by the second parameter.
Parameters: inputStream - input stream to read the generated report object from Parameters: outputStream - output stream to write the resulting PDF content to See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToPdfStream | public static void exportReportToPdfStream(JasperPrint jasperPrint, OutputStream outputStream) throws JRException(Code) | | Exports the generated report object received as first parameter into PDF format and
writes the results to the output stream specified by the second parameter.
Parameters: jasperPrint - report object to export Parameters: outputStream - output stream to write the resulting PDF content to See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToXml | public static String exportReportToXml(JasperPrint jasperPrint) throws JRException(Code) | | Exports the generated report object supplied as parameter into XML format
and returs the result as String.
The images are embedded into the XML content itself using the Base64 encoder.
Parameters: jasperPrint - report object to export XML representation of the generated report See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToXmlFile | public static String exportReportToXmlFile(String sourceFileName, boolean isEmbeddingImages) throws JRException(Code) | | Exports the generated report file specified by the parameter into XML format.
The resulting XML file has the same name as the report object inside the source file,
plus the *.jrpxml extension and it is located in the same directory as the source file.
When exporting to XML format, the images can be either embedded in the XML content
itself using the Base64 encoder or be referenced as external resources.
If not embedded, the images are placed as distinct files inside a directory
having the same name as the XML destination file, plus the "_files" suffix.
Parameters: sourceFileName - source file containing the generated report Parameters: isEmbeddingImages - flag that indicates whether the images should be embedded in theXML content itself using the Base64 encoder or be referenced as external resources XML representation of the generated report See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToXmlFile | public static void exportReportToXmlFile(String sourceFileName, String destFileName, boolean isEmbeddingImages) throws JRException(Code) | | Exports the generated report file specified by the first parameter into XML format,
placing the result into the second file parameter.
If not embedded into the XML content itself using the Base64 encoder,
the images are placed as distinct files inside a directory having the same name
as the XML destination file, plus the "_files" suffix.
Parameters: sourceFileName - source file containing the generated report Parameters: destFileName - file name to place the XML representation into Parameters: isEmbeddingImages - flag that indicates whether the images should be embedded in theXML content itself using the Base64 encoder or be referenced as external resources See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToXmlFile | public static void exportReportToXmlFile(JasperPrint jasperPrint, String destFileName, boolean isEmbeddingImages) throws JRException(Code) | | Exports the generated report object received as parameter into XML format,
placing the result into the second file parameter.
If not embedded into the XML content itself using the Base64 encoder,
the images are placed as distinct files inside a directory having the same name
as the XML destination file, plus the "_files" suffix.
Parameters: jasperPrint - report object to export Parameters: destFileName - file name to place the XML representation into Parameters: isEmbeddingImages - flag that indicates whether the images should be embedded in theXML content itself using the Base64 encoder or be referenced as external resources See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToXmlStream | public static void exportReportToXmlStream(InputStream inputStream, OutputStream outputStream) throws JRException(Code) | | Exports the generated report object read from the supplied input stream into XML format,
and writes the result to the output stream specified by the second parameter.
The images are embedded into the XML content itself using the Base64 encoder.
Parameters: inputStream - input stream to read the generated report object from Parameters: outputStream - output stream to write the resulting XML representation to See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
exportReportToXmlStream | public static void exportReportToXmlStream(JasperPrint jasperPrint, OutputStream outputStream) throws JRException(Code) | | Exports the generated report object supplied as the first parameter into XML format,
and writes the result to the output stream specified by the second parameter.
The images are embedded into the XML content itself using the Base64 encoder.
Parameters: jasperPrint - report object to export Parameters: outputStream - output stream to write the resulting XML representation to See Also: net.sf.jasperreports.engine.export.JRPdfExporter |
|
|