Class Serializer
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.util.Serializer
 
 
- 
public final class Serializer extends Object
- Author:
 - Marko A. Rodriguez (http://markorodriguez.com)
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V> VcloneObject(V object)static ObjectdeserializeObject(byte[] objectBytes)static byte[]serializeObject(Object object) 
 - 
 
- 
- 
Method Detail
- 
serializeObject
public static byte[] serializeObject(Object object) throws IOException
- Throws:
 IOException
 
- 
deserializeObject
public static Object deserializeObject(byte[] objectBytes) throws IOException, ClassNotFoundException
- Throws:
 IOExceptionClassNotFoundException
 
- 
cloneObject
public static <V> V cloneObject(V object) throws IOException, ClassNotFoundException- Throws:
 IOExceptionClassNotFoundException
 
 - 
 
 -