Interface FieldConvert.FieldConverter<T extends Annotation>
- All Known Implementing Classes:
 Binary.BinaryConverter,DefaultConverter,FillerConverter,Lpad.LpadConverter,Rpad.RpadConverter
- Enclosing class:
 - FieldConvert
 
@Published(tag="architect")
public static interface FieldConvert.FieldConverter<T extends Annotation>
値を変換するインタフェース。
- 
Method Summary
Modifier and TypeMethodDescriptionconvertOfRead(FixedLengthDataBindConfig fixedLengthDataBindConfig, FieldConfig fieldConfig, byte[] input) 読み込み時の変換を行う。byte[]convertOfWrite(FixedLengthDataBindConfig fixedLengthDataBindConfig, FieldConfig fieldConfig, Object output) 書き込み時の変換を行う。voidinitialize(T annotation) アノテーションの設定値をもとに初期化を行う。 
- 
Method Details
- 
initialize
アノテーションの設定値をもとに初期化を行う。- Parameters:
 annotation- アノテーション
 - 
convertOfRead
Object convertOfRead(FixedLengthDataBindConfig fixedLengthDataBindConfig, FieldConfig fieldConfig, byte[] input) 読み込み時の変換を行う。- Parameters:
 fixedLengthDataBindConfig- 固定長の設定fieldConfig- フィールドの設定input- 入力値- Returns:
 - 変換後の値
 
 - 
convertOfWrite
byte[] convertOfWrite(FixedLengthDataBindConfig fixedLengthDataBindConfig, FieldConfig fieldConfig, Object output) 書き込み時の変換を行う。- Parameters:
 fixedLengthDataBindConfig- 固定長の設定fieldConfig- フィールドの設定output- 出力値- Returns:
 - 出力後の値
 
 
 -