|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.core.serializer.support.DeserializingConverter
public class DeserializingConverter
A Converter
that delegates to a Deserializer
to convert data in a byte array to an object.
Constructor Summary | |
---|---|
DeserializingConverter()
Create a default DeserializingConverter that uses standard Java deserialization. |
|
DeserializingConverter(Deserializer<Object> deserializer)
Create a DeserializingConverter that delegates to the provided Deserializer . |
Method Summary | |
---|---|
Object |
convert(byte[] source)
Convert the source of type S to target type T. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeserializingConverter()
public DeserializingConverter(Deserializer<Object> deserializer)
Deserializer
.
Method Detail |
---|
public Object convert(byte[] source)
Converter
convert
in interface Converter<byte[],Object>
source
- the source object to convert, which must be an instance of S
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |