public class ByteBufferConverter extends Object implements QiSerializer.Converter
Constructor and Description |
---|
ByteBufferConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDeserialize(Object object,
Type targetType) |
boolean |
canSerialize(Object object) |
Object |
deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Object |
serialize(QiSerializer serializer,
Object object) |
public boolean canSerialize(Object object)
canSerialize
in interface QiSerializer.Converter
public Object serialize(QiSerializer serializer, Object object) throws QiConversionException
serialize
in interface QiSerializer.Converter
QiConversionException
public boolean canDeserialize(Object object, Type targetType)
canDeserialize
in interface QiSerializer.Converter
public Object deserialize(QiSerializer serializer, Object object, Type targetType) throws QiConversionException
deserialize
in interface QiSerializer.Converter
QiConversionException
Copyright © 2020. All rights reserved.