org.springframework.commons.serializer.java
Class SerializingConverter
java.lang.Object
org.springframework.commons.serializer.java.SerializingConverter
- All Implemented Interfaces:
- Converter<Object,byte[]>
public class SerializingConverter
- extends Object
- implements Converter<Object,byte[]>
Delegates to a JavaStreamingConverter
to serialize an object
to a byte[]. Source object must implement Serializable
.
- Since:
- 2.0
- Author:
- Gary Russell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializingConverter
public SerializingConverter()
convert
public byte[] convert(Object source)
- Specified by:
convert
in interface Converter<Object,byte[]>
Copyright © 2010. All Rights Reserved.