0
POI 3.15中的getCellType已折舊,並且我在文檔中看不到任何等價物。等價的getCellType Apache POI 3.15
有人知道用了什麼方法使用最新版本的POI的
問候 立彬塞巴斯蒂安
POI 3.15中的getCellType已折舊,並且我在文檔中看不到任何等價物。等價的getCellType Apache POI 3.15
有人知道用了什麼方法使用最新版本的POI的
問候 立彬塞巴斯蒂安
您可以根據使用了Apache POI documentation的getCellTypeEnum
方法獲得的細胞類型。它將返回CellType
,它將具有以下單元格類型_NONE,BLANK,BOOLEAN,ERROR,FORMULA,NUMERIC或STRING。
_NONE-Unknown type, used to represent a state prior to initialization or the lack of a concrete type.
BLANK-Blank cell type
BOOLEAN-Boolean cell type
ERROR-Error cell type
FORMULA-Formula cell type
NUMERIC-Numeric cell type (whole numbers, fractional numbers, dates)
STRING-String (text) cell type