Apache POI How to modify excel cell without loading whole excel (xlsx file) -


People,

We have a requirement related to scalability for Excel updates.

As we have an Excel workbook that has 10 work sheets, each has a lot of data.

Now what we want to do, we have to change SEL in one of the sheets with 'new value'.

But with Apache POI we got to understand that we have to load the entire work book even if we have to modify the data in one of the Excel Sheets. It is consuming huge memory and is not acceptable.

Is there any cell-level reading (instant flush) feature or API for Excel?

An XLSX file is actually a zip file that contains multiple XML files.

You can extract the content (but retain the folder structure), only you want to change the XML file, compress it back, and replace the original.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -