/** * 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. * * @param inputStream source input stream to read the report design object from * @param outputStream output stream to write the XML report design representation to */ public static void writeReportToXmlStream( InputStream inputStream, OutputStream outputStream ) throws JRException { JRReport report = (JRReport)JRLoader.loadObject(inputStream); writeReportToXmlStream(report, outputStream); }