2016-12-02 11 views

答えて

1

の最新バージョンを使用して、細胞の種類を取得するために使用するのか方法を知っているあなたは、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