Usually don't use HSSFRow.getPhysicalNumberOfCells() (it may return wrong information) to determine how many columns there are in excel spreadsheet, use HSSFRow.getLastCellNum() instead. getPhysicalNumberOfCells is something like for internal use.
One quick note for poi lib accessing excel
最新推荐文章于 2024-09-03 20:52:56 发布