クラス DefaultFieldSetFactory
java.lang.ObjectSE
org.springframework.batch.item.file.transform.DefaultFieldSetFactory
- 実装済みのインターフェース一覧:
FieldSetFactory
- 作成者:
- Dave Syer, Mahmoud Ben Hassine
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明匿名トークンを使用して FieldSet を作成します。名前付きトークンを使用して FieldSet を作成します。voidsetDateFormat(DateFormatSE dateFormat) 日付の解析に使用するDateFormatSE。voidsetNumberFormat(NumberFormatSE numberFormat) 数値の解析に使用するNumberFormatSE。
コンストラクターの詳細
DefaultFieldSetFactory
public DefaultFieldSetFactory()
方法の詳細
setNumberFormat
数値の解析に使用するNumberFormatSE。設定されていない場合は、Locale.USSE が使用されます。- パラメーター:
numberFormat- 数値解析に使用するNumberFormatSE
setDateFormat
日付の解析に使用するDateFormatSE。設定されていない場合、デフォルトのパターンは ISO 標準yyyy-MM-ddです。- パラメーター:
dateFormat- 日付の解析に使用するDateFormatSE
create
名前付きトークンを使用して FieldSet を作成します。トークンの値は、名前または列番号で取得できます。- 次で指定:
- インターフェース
FieldSetFactory内のcreate - パラメーター:
values- トークン値names- トークンの名前- 戻り値:
FieldSetのインスタンス。- 関連事項:
create
匿名トークンを使用して FieldSet を作成します。列番号でのみ取得できます。- 次で指定:
- インターフェース
FieldSetFactory内のcreate - パラメーター:
values- トークン値- 戻り値:
FieldSetのインスタンス。- 関連事項: