阅读背景:

如何使用POI避免使用空单元格的NullPointerException?

来源:互联网 

I'm trying to get some values in my java program from an excel .xlsx file using Apache POI, but I'm having trouble because my loop encounters an empty cell sometimes, then I get a NullPointerException. How can I "test" the cell before even reading it ? Here's a piece of my code :I'm trying to get some values in my java progra




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: