I needed to parse a very large Microsoft Excel file, and after searching, I found this:
java.lang.OutOfMemoryError: GC overhead limit exceeded when loading an xlsx file
This is great. Cayman gave a great answer. I can now load the XML file and parse it.
However, how do I find the name of the columns? I don't the "c" for CELL and the "v" for VALUE. I mean the actual names of the columns (in my case "Country", "Address", "Phone", "Company").
I investigated this line:
SharedStringsTable sst = xssfReader.getSharedStringsTable();
Maybe this is suppose to reveal something about the names of columns? I could not find any examples.
Can someone point me to the documentation on this? How do I get the column names?