且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

已弃用的 getCellType 的替代方法

更新时间:2023-02-19 14:26:25

已接受的答案显示了弃用的原因,但未提及替代方案:

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

CellType    getCellTypeEnum()

其中 CellType 是描述单元格类型的枚举.

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

计划是在 POI 4.0 中将 getCellTypeEnum() 重命名回 getCellType().

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