📜  使用 apache poi 处理 excel 文件中的空或空白单元格 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:30.549000             🧑  作者: Mango

代码示例5
//If you are using apache dependency version 3.12 then you need to handle different way. The switch case statement should be replaced in the following way for numeric cell types.

switch (mobileCell.getCellType()) {
case NUMERIC:
    info.setMobile(NumberToTextConverter.toText(mobileCell.getNumericCellValue()));
    break;
case BLANK:
    break;
default:
    break;
}