|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.core.serializer.support.SerializingConverter
public class SerializingConverter
A that delegates to a Serializer
to convert an object to a byte array.
| Constructor Summary | |
|---|---|
SerializingConverter()
Create a default SerializingConverter that uses standard Java serialization. |
|
SerializingConverter(Serializer<Object> serializer)
Create a SerializingConverter that delegates to the provided Serializer |
|
| Method Summary | |
|---|---|
byte[] |
convert(Object source)
Serializes the source object and returns the byte array result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializingConverter()
public SerializingConverter(Serializer<Object> serializer)
Serializer
| Method Detail |
|---|
public byte[] convert(Object source)
convert in interface Converter<Object,byte[]>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 | ||||||||