com.nordea.oss.copybook.serializers.CopyBookMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of copybook4java Show documentation
Show all versions of copybook4java Show documentation
CopyBook serializer and deserializer for Java where CopyBook lines are used to annotate a normal Java class
The newest version!
/*
* Copyright (c) 2015. Troels Liebe Bentsen
* Copyright (c) 2016. Nordea Bank AB
* Licensed under the MIT license (LICENSE.txt)
*/
package com.nordea.oss.copybook.serializers;
public interface CopyBookMapper {
void initialize(CopyBookSerializerConfig config);
byte[] serialize(T obj);
T deserialize(byte[] bytes, Class type);
int getMaxRecordSize();
void setMaxRecordSize(int size);
int getMinRecordSize();
void setMinRecordSize(int size);
}