public class JXLCell extends Object implements CommonCell
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
getBooleanCellValue()
Boolean型のセルとして値を取得する。
|
Cell |
getCell()
JExcelAPIの元々のセルのインスタンスを取得する。
|
String |
getCellAddress()
セルのアドレスを取得する。
|
Date |
getDateCellValue()
日時型のセルとして値を取得する。
|
short |
getFormatIndex()
書式のインデックス番号を取得する。
|
String |
getFormatPattern()
書式のパターンを取得する。
|
double |
getNumberCellValue()
数値型のセルとして値を取得する。
|
String |
getTextCellValue()
文字列型のセルとして値を取得する。
|
boolean |
isBoolean()
ブール型のセルかどうか。
|
boolean |
isDateStart1904()
日時の開始日が1904年かどうか。
|
boolean |
isNumber()
数値型のセルかどうか。
|
boolean |
isText()
文字列型のセルかどうか。
|
public JXLCell(Cell cell, boolean dateStart1904)
cell - フォーマット対象のセルのインスタンス。dateStart1904 - 日付の開始が1904年始まりかどうか。
JXLUtils.isDateStart1904(jxl.Sheet)を使用して、Workbookまたはシートから取得する。IllegalArgumentException - cell == null.public Cell getCell()
public short getFormatIndex()
CommonCellインデックス番号がない場合は0を返す。
getFormatIndex インタフェース内 CommonCellpublic String getFormatPattern()
CommonCellパターンがない場合は、空文字を返す。
getFormatPattern インタフェース内 CommonCellpublic boolean isText()
CommonCellisText インタフェース内 CommonCellpublic String getTextCellValue()
CommonCellgetTextCellValue インタフェース内 CommonCellpublic boolean isBoolean()
CommonCellisBoolean インタフェース内 CommonCellpublic boolean getBooleanCellValue()
CommonCellgetBooleanCellValue インタフェース内 CommonCellpublic boolean isNumber()
CommonCellisNumber インタフェース内 CommonCellpublic double getNumberCellValue()
CommonCell日時型の場合でもExcelの内部表現である数値に変換して値を取得する。
getNumberCellValue インタフェース内 CommonCellpublic Date getDateCellValue()
CommonCellただじ、タイムゾーンは標準のGMT-00:00とする。
数値型の場合でも日時型に変換して値を取得する。
getDateCellValue インタフェース内 CommonCellpublic boolean isDateStart1904()
CommonCellisDateStart1904 インタフェース内 CommonCellpublic String getCellAddress()
CommonCellgetCellAddress インタフェース内 CommonCellCopyright © 2021 mygreen. All rights reserved.