Class FixedLengthBeanMapper<T>
java.lang.Object
nablarch.common.databind.fixedlength.FixedLengthBeanMapper<T>
- Type Parameters:
T- 読み取る型
- All Implemented Interfaces:
Closeable,AutoCloseable,ObjectMapper<T>
固定長をBeanにマッピングする
ObjectMapper- Author:
- Naoki Yamamoto
-
Constructor Summary
ConstructorsConstructorDescriptionFixedLengthBeanMapper(Class<T> clazz, FixedLengthDataBindConfig config, InputStream stream) 固定長をBeanにマッピングするクラスを構築する。 -
Method Summary
-
Constructor Details
-
FixedLengthBeanMapper
固定長をBeanにマッピングするクラスを構築する。- Parameters:
clazz- マッピング対象のBeanクラス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>
-