public class FillerConverter extends java.lang.Object implements FieldConvert.FieldConverter<java.lang.annotation.Annotation>
| Constructor and Description |
|---|
FillerConverter(char fillChar)
未定義領域を埋める文字をもとにインスタンスを生成する。
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertOfRead(FixedLengthDataBindConfig fixedLengthDataBindConfig,
FieldConfig fieldConfig,
byte[] input)
読み込み時の変換を行う。
|
byte[] |
convertOfWrite(FixedLengthDataBindConfig fixedLengthDataBindConfig,
FieldConfig fieldConfig,
java.lang.Object output)
書き込み時の変換を行う。
|
void |
initialize(java.lang.annotation.Annotation annotation)
アノテーションの設定値をもとに初期化を行う。
|
public FillerConverter(char fillChar)
fillChar - 未定義領域を埋める文字public void initialize(java.lang.annotation.Annotation annotation)
FieldConvert.FieldConverterinitialize in interface FieldConvert.FieldConverter<java.lang.annotation.Annotation>annotation - アノテーションpublic java.lang.Object convertOfRead(FixedLengthDataBindConfig fixedLengthDataBindConfig, FieldConfig fieldConfig, byte[] input)
FieldConvert.FieldConverterconvertOfRead in interface FieldConvert.FieldConverter<java.lang.annotation.Annotation>fixedLengthDataBindConfig - 固定長の設定fieldConfig - フィールドの設定input - 入力値public byte[] convertOfWrite(FixedLengthDataBindConfig fixedLengthDataBindConfig, FieldConfig fieldConfig, java.lang.Object output)
FieldConvert.FieldConverterconvertOfWrite in interface FieldConvert.FieldConverter<java.lang.annotation.Annotation>fixedLengthDataBindConfig - 固定長の設定fieldConfig - フィールドの設定output - 出力値