public final class Serializer extends Object
| Modifier and Type | Method and Description |
|---|---|
static <V> V |
cloneObject(V object) |
static Object |
deserializeObject(byte[] objectBytes) |
static byte[] |
serializeObject(Object object) |
public static byte[] serializeObject(Object object) throws IOException
IOExceptionpublic static Object deserializeObject(byte[] objectBytes) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static <V> V cloneObject(V object)
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2013–2017 Apache Software Foundation. All rights reserved.