public class CopyBookSerializer extends Object
| Constructor and Description |
|---|
CopyBookSerializer(Class<?> type) |
CopyBookSerializer(Class<?> type,
boolean debug) |
CopyBookSerializer(Class<?> type,
Class<CopyBookMapper> mapper,
boolean debug) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(byte[] bytes,
Class<T> type) |
<T> T |
deserialize(InputStream inputStream,
Class<T> type) |
List<CopyBookException> |
getErrors() |
int |
getMaxRecordSize() |
int |
getMinRecordSize() |
<T> byte[] |
serialize(T obj) |
public CopyBookSerializer(Class<?> type)
public CopyBookSerializer(Class<?> type, boolean debug)
public CopyBookSerializer(Class<?> type, Class<CopyBookMapper> mapper, boolean debug)
public <T> byte[] serialize(T obj)
public <T> T deserialize(byte[] bytes,
Class<T> type)
public <T> T deserialize(InputStream inputStream, Class<T> type) throws IOException
IOExceptionpublic List<CopyBookException> getErrors()
public int getMinRecordSize()
public int getMaxRecordSize()
Copyright © 2016. All rights reserved.