A - サポートするアノテーションpublic abstract class AbstractFieldProcessor<A extends Annotation> extends Object implements FieldProcessor<A>
通常はこのクラスを継承して作成します。
| コンストラクタと説明 |
|---|
AbstractFieldProcessor() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected CellConverter<?> |
getCellConverter(Class<?> componentType,
FieldAccessor accessor,
Configuration config)
コンポーネントタイプを指定して、指定したタイプに対する
CellConverterを取得します。 |
protected CellConverter<?> |
getCellConverter(FieldAccessor accessor,
Configuration config)
指定したタイプに対する
CellConverterを取得します。 |
protected ConversionException |
newNotFoundCellConverterExpcetion(Class<?> targetType)
該当するタイプのConverterが見つからないときの例外のインスタンスを作成する。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadProcess, saveProcessprotected ConversionException newNotFoundCellConverterExpcetion(Class<?> targetType)
targetType - クラスタイプConversionException のインスタンスprotected CellConverter<?> getCellConverter(FieldAccessor accessor, Configuration config) throws ConversionException
CellConverterを取得します。
アノテーション「XlsConverter」が付与されている場合、そちらの設定値を優先します。
accessor - フィールド情報config - システム情報設定。CellConverterのインスタンスConversionException - CellConverterが見つからない場合。protected CellConverter<?> getCellConverter(Class<?> componentType, FieldAccessor accessor, Configuration config) throws ConversionException
CellConverterを取得します。
アノテーション「XlsConverter」が付与されている場合、そちらの設定値を優先します。
componentType - コンポーネントのクラスタイプaccessor - フィールド情報config - システム情報設定。CellConverterのインスタンスConversionException - CellConverterが見つからない場合。Copyright © 2025 mygreen. All rights reserved.