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
IOException
public static Object deserializeObject(byte[] objectBytes) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public static <V> V cloneObject(V object) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.