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

后端 未结 9 1519
孤独总比滥情好
孤独总比滥情好 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(org.apache.poi.ss.usermodel.Row tmp : hssfSheet){
                for(int i = 0; i<8;i++){
                    System.out.println(tmp.getCell(i));
                }               
            }
    

提交回复
热议问题