Alternative to deprecated getCellType

后端 未结 8 2287
自闭症患者
自闭症患者 2020-11-27 05:44

I\'m reading an excel-file (file extension xlsx) using org.apache.poi 3.15.

This is my code:

try (FileInputStream fileInputStream = new FileInputStr         


        
8条回答
  •  北海茫月
    2020-11-27 06:08

    The accepted answer shows the reason for the deprecation but misses to name the alternative:

    CellType    getCellTypeEnum()
    

    where the CellType is the enum decribing the type of the cell.

    The plan is to rename getCellTypeEnum() back to getCellType() in POI 4.0.

提交回复
热议问题