On 05/10/2011 11:32, Yegor Kozlov wrote:
It is a feature of the OpenXml4J library.
XSSFWorkbook.write builds the model and delegates actual saving to
OPCPackage.save(OutputStream) where the initial stream is wrapped with
ZipOutputStream:
ZipOutputStream zos = new ZipOutputStream(outputStream);
// write data
zos.close(); // this is where outputStream is closed.
The exact place is ZipPackage.saveImpl(OutputStream).
This is pretty fundamental and I don't think it can be easily changed.
Yegor
Thanks for the detailed explanation Yegor.
Now I'm aware of it I don't need it changed, but I think it would be
useful to mention it on the docs for Workbook.
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]