Class BeanFixedLengthMapper<T>
java.lang.Object
nablarch.common.databind.fixedlength.BeanFixedLengthMapper<T>
- Type Parameters:
T- 出力する型
- All Implemented Interfaces:
Closeable,AutoCloseable,ObjectMapper<T>
Beanを固定長にマッピングする
ObjectMapper- Author:
- Naoki Yamamoto
-
Constructor Summary
ConstructorsConstructorDescriptionBeanFixedLengthMapper(Class<T> clazz, FixedLengthDataBindConfig config, OutputStream stream) Beanを固定長にマッピングするクラスを構築する。 -
Method Summary
-
Constructor Details
-
BeanFixedLengthMapper
Beanを固定長にマッピングするクラスを構築する。- Parameters:
clazz- 出力する型config- 固定長の設定情報stream- 出力ストリーム
-
-
Method Details
-
write
Description copied from interface:ObjectMapperオブジェクトの情報をアウトプットする。- Specified by:
writein interfaceObjectMapper<T>- Parameters:
object- オブジェクト
-
read
Description copied from interface:ObjectMapperオブジェクトにマッピングする。- Specified by:
readin interfaceObjectMapper<T>- Returns:
- オブジェクト
-
close
public void close()Description copied from interface:ObjectMapperリソースを開放する。- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceObjectMapper<T>
-