|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.w_horse.excelpojo.excel.cellseeker.AbstractCellSeeker
net.w_horse.excelpojo.excel.cellseeker.ConstantValueCellSeeker
public class ConstantValueCellSeeker
| コンストラクタの概要 | |
|---|---|
ConstantValueCellSeeker()
|
|
| メソッドの概要 | |
|---|---|
java.lang.String |
getValue()
|
java.lang.Object |
seekCellValue(org.apache.poi.ss.usermodel.Sheet sheet,
java.lang.Class<?> requiredType)
セルの検索を行い、値を取得する。 |
void |
set(java.lang.annotation.Annotation annotation,
ExcelPOJOAnnotationParser parser)
アノテーションパーサーに定義情報をセットしてもらう |
void |
setValue(org.apache.poi.ss.usermodel.Sheet sheet,
net.w_horse.excelpojo.excel.cellseeker.AbstractCellSeeker.Offset basePosition,
net.w_horse.excelpojo.excel.cellseeker.AbstractCellSeeker.Offset offset,
java.lang.Object value)
セルの検索を行い、値をセットする。 |
void |
setValue(org.apache.poi.ss.usermodel.Sheet sheet,
java.lang.Object bean)
セルの検索を行い、値をセットする。 |
void |
setValue(java.lang.String value)
|
boolean |
verify()
実行時に定義内容の妥当性チェックを行う 定義に誤りや矛盾がある場合は IllegalArgumentExceptionをあげる |
| クラス net.w_horse.excelpojo.excel.cellseeker.AbstractCellSeeker から継承されたメソッド |
|---|
getConverter, getExcelPOJOBridge, getRange, getUse, setConverter, setExcelPOJOBridge, setRange, setUse |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ConstantValueCellSeeker()
| メソッドの詳細 |
|---|
public void set(java.lang.annotation.Annotation annotation,
ExcelPOJOAnnotationParser parser)
CellSeeker の記述:
annotation - アノテーションparser - アノテーションパーサー
public boolean verify()
throws java.lang.IllegalArgumentException
CellSeeker の記述:IllegalArgumentExceptionをあげる
CellSeeker 内の verifyAbstractCellSeeker 内の verifyjava.lang.IllegalArgumentException - 定義に誤りや矛盾がある場合
public java.lang.Object seekCellValue(org.apache.poi.ss.usermodel.Sheet sheet,
java.lang.Class<?> requiredType)
throws ExcelPOJOException
CellSeeker の記述:
sheet - 検索対象(読み込み)のシートrequiredType - 取得する値の型
CellNotFoundException - use="required"が指定されていた際にセルが見つからない場合
ExcelPOJOException - その他例外
public void setValue(org.apache.poi.ss.usermodel.Sheet sheet,
java.lang.Object bean)
CellSeeker の記述:
sheet - 検索対象(書き込み)のシートbean - 書き込む値
public void setValue(org.apache.poi.ss.usermodel.Sheet sheet,
net.w_horse.excelpojo.excel.cellseeker.AbstractCellSeeker.Offset basePosition,
net.w_horse.excelpojo.excel.cellseeker.AbstractCellSeeker.Offset offset,
java.lang.Object value)
CellSeeker の記述:
sheet - 書き込み対象のシートbasePosition - 基点offset - 相対位置value - 値public void setValue(java.lang.String value)
public java.lang.String getValue()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||