How to get an Excel Blank Cell Value in Apache POI?

后端 未结 9 1404
孤独总比滥情好
孤独总比滥情好 2020-12-01 05:02

I have a huge excel file with tons of columns which looks like this :-

Column1 Column2 Column3 Column4 Column5
abc             def             ghi
        mn         


        
9条回答
  •  有刺的猬
    2020-12-01 06:02

    for (Row row: sheet){
    // This will return null if cell is empty / blank
    Cell cell = row.getCell(columnNumber);
    }
    

提交回复
热议问题