クラス RecordFieldSetMapper<T>
java.lang.ObjectSE
org.springframework.batch.item.file.mapping.RecordFieldSetMapper<T>
- 型パラメーター:
T
- マップされたアイテムの型
- 実装されたすべてのインターフェース:
FieldSetMapper<T>
これは、Java レコードマッピングをサポートする
FieldSetMapper
です(JKD 14 以降が必要です)。レコードの正規コンストラクターを使用して、FieldSet
のトークンと同じ名前のコンポーネントをマップします。- 導入:
- 4.3
- 作成者:
- Mahmoud Ben Hassine
コンストラクターのサマリー
コンストラクター説明RecordFieldSetMapper
(ClassSE<T> targetType) 新しいRecordFieldSetMapper
を作成します。RecordFieldSetMapper
(ClassSE<T> targetType, org.springframework.core.convert.ConversionService conversionService) 新しいRecordFieldSetMapper
を作成します。メソッドのサマリー
コンストラクターの詳細
RecordFieldSetMapper
新しいRecordFieldSetMapper
を作成します。- パラメーター:
targetType
- マップされたアイテムの型
RecordFieldSetMapper
public RecordFieldSetMapper(ClassSE<T> targetType, org.springframework.core.convert.ConversionService conversionService) 新しいRecordFieldSetMapper
を作成します。- パラメーター:
targetType
- マップされたアイテムの型conversionService
- 生データを型付きフィールドに変換するために使用するサービス
メソッドの詳細
mapFieldSet
インターフェースからコピーされた説明:FieldSetMapper
FieldSet
から取得したデータをオブジェクトにマッピングするために使用されるメソッド。- 次で指定:
- インターフェース
FieldSetMapper<T>
のmapFieldSet
- パラメーター:
fieldSet
- マッピングするFieldSet
- 戻り値:
- 移入されたオブジェクト