|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface CellSeeker
メソッドの概要 | |
---|---|
CellFieldConverter |
getConverter()
|
ExcelPOJOBridge |
getExcelPOJOBridge()
|
java.lang.String |
getRange()
|
java.lang.String |
getUse()
|
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 |
setConverter(CellFieldConverter converter)
|
void |
setExcelPOJOBridge(ExcelPOJOBridge excelPOJOBridge)
|
void |
setRange(java.lang.String range)
|
void |
setUse(java.lang.String use)
|
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 value)
セルの検索を行い、値をセットする。 |
boolean |
verify()
実行時に定義内容の妥当性チェックを行う 定義に誤りや矛盾がある場合は IllegalArgumentException をあげる |
メソッドの詳細 |
---|
void set(java.lang.annotation.Annotation annotation, ExcelPOJOAnnotationParser parser) throws java.lang.ClassNotFoundException, java.lang.LinkageError, ExcelPOJOException
annotation
- アノテーションparser
- アノテーションパーサー
java.lang.ClassNotFoundException
- listClassで無効なクラスが指定されていた場合
java.lang.LinkageError
- listClassで無効なクラスが指定されていた場合
ExcelPOJOException
- その他例外java.lang.Object seekCellValue(org.apache.poi.ss.usermodel.Sheet sheet, java.lang.Class<?> requiredType) throws java.lang.ClassNotFoundException, java.lang.LinkageError, CellNotFoundException, java.lang.IllegalArgumentException, ExcelPOJOException
sheet
- 検索対象(読み込み)のシートrequiredType
- 取得する値の型
java.lang.ClassNotFoundException
- listClassで無効なクラスが指定されていた場合
java.lang.LinkageError
- listClassで無効なクラスが指定されていた場合
CellNotFoundException
- use="required"が指定されていた際にセルが見つからない場合
java.lang.IllegalArgumentException
- 定義に誤り・矛盾がある場合
ExcelPOJOException
- その他例外void setValue(org.apache.poi.ss.usermodel.Sheet sheet, java.lang.Object value) throws CellNotFoundException, java.lang.IllegalArgumentException, ExcelPOJOException
sheet
- 検索対象(書き込み)のシートvalue
- 書き込む値
CellNotFoundException
- use="required"が指定されていた際にセルが見つからない場合
java.lang.IllegalArgumentException
- 定義に誤り・矛盾がある場合
ExcelPOJOException
- その他例外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) throws CellNotFoundException, ExcelPOJOException
sheet
- 書き込み対象のシートbasePosition
- 基点offset
- 相対位置value
- 値
CellNotFoundException
- use="required"が指定されていた際にセルが見つからない場合
ExcelPOJOException
- その他例外boolean verify() throws java.lang.IllegalArgumentException, ExcelPOJOException
IllegalArgumentException
をあげる
java.lang.IllegalArgumentException
- 定義に誤りや矛盾がある場合
ExcelPOJOException
- listClassで無効なクラスが指定されていた場合void setExcelPOJOBridge(ExcelPOJOBridge excelPOJOBridge)
ExcelPOJOBridge getExcelPOJOBridge()
void setUse(java.lang.String use)
java.lang.String getUse()
void setRange(java.lang.String range)
java.lang.String getRange()
void setConverter(CellFieldConverter converter)
CellFieldConverter getConverter()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |