Code example for OutputStream

Methods: flush

0
         
        CustomizableTabularExporterUtilities.exportRows( 
                project, engine, params, serializer);
         
        try { 
            odfDoc.save(outputStream);
        } catch (Exception e) {
            throw new IOException("Error saving spreadsheet",e);
        } 
        outputStream.flush();
    } 
 
}