poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57919] Support in-place write when opened from a File
Date Mon, 18 Jul 2016 09:57:36 GMT

Nick Burch <apache@gagravarr.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO

--- Comment #4 from Nick Burch <apache@gagravarr.org> ---
Currently (N)POIFS doesn't support opening an empty file, so you'd (for now)
need to create a new empty POIFS, save it to a file (would be ~2kb), open that,
then save the document into it. I guess we might want a static create method on
POIFSFileSystem that hides all that, which could later be replaced with logic
to create the new file from scratch

As for if it would help... Any chance you could, on your somewhat shonky
filesystem, open a HSSFWorkbook from a POIFS loaded r/w from a file, make some
changes, do an in-place write, and see how quick it saves back vs OutputStream
vs BufferedOutputStream?

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message