org.apache.directmemory.serialization
Interface Serializer
- All Known Implementing Classes:
- StandardSerializer
public interface Serializer
serialize
<T> byte[] serialize(T obj)
throws IOException
- Throws:
IOException
deserialize
<T> T deserialize(byte[] source,
Class<T> clazz)
throws IOException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException
- Throws:
IOException
ClassNotFoundException
InstantiationException
IllegalAccessException
Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.