public class POIEvaluatedCell extends POICell
| コンストラクタと説明 |
|---|
POIEvaluatedCell(Cell cell,
CellValue value)
セルと評価した結果を
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
getBooleanCellValue()
Boolean型のセルとして値を取得する。
|
CellValue |
getCellValue()
式を評価したセルの値を取得する。
|
Date |
getDateCellValue()
日時型のセルとして値を取得する。
|
double |
getNumberCellValue()
数値型のセルとして値を取得する。
|
String |
getTextCellValue()
文字列型のセルとして値を取得する。
|
boolean |
isBoolean()
ブール型のセルかどうか。
|
boolean |
isNumber()
数値型のセルかどうか。
|
boolean |
isText()
文字列型のセルかどうか。
|
getCell, getCellAddress, getFormatIndex, getFormatPattern, isDateStart1904public CellValue getCellValue()
public boolean isText()
CommonCellisText インタフェース内 CommonCellisText クラス内 POICellpublic String getTextCellValue()
CommonCellgetTextCellValue インタフェース内 CommonCellgetTextCellValue クラス内 POICellpublic boolean isBoolean()
CommonCellisBoolean インタフェース内 CommonCellisBoolean クラス内 POICellpublic boolean getBooleanCellValue()
CommonCellgetBooleanCellValue インタフェース内 CommonCellgetBooleanCellValue クラス内 POICellpublic boolean isNumber()
CommonCellisNumber インタフェース内 CommonCellisNumber クラス内 POICellpublic double getNumberCellValue()
CommonCell日時型の場合でもExcelの内部表現である数値に変換して値を取得する。
getNumberCellValue インタフェース内 CommonCellgetNumberCellValue クラス内 POICellpublic Date getDateCellValue()
CommonCellただじ、タイムゾーンは標準のGMT-00:00とする。
数値型の場合でも日時型に変換して値を取得する。
getDateCellValue インタフェース内 CommonCellgetDateCellValue クラス内 POICellCopyright © 2021 mygreen. All rights reserved.