How deal with blank cells in excel files java

前端 未结 2 1726
我在风中等你
我在风中等你 2020-12-09 23:41

I am making a program where I am reading data from excel files and store them in tables. I have made the program using Apache POI and works fine. But when files have blank c

2条回答
  •  猫巷女王i
    2020-12-10 00:37

    Another solution if you don't know the size of your spreadsheet is to loop through row and column and compare the index of row and column with the previous one you parsed. If the increment is more than one you will create the missing intermediate cells.

提交回复
热议问题