Class Serializer
- java.lang.Object
-
- edu.berkeley.cs.jqf.fuzz.difffuzz.Serializer
-
public class Serializer extends Object
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object[]
deserialize(byte[] bytes, ClassLoader cl, Object[] original)
static byte[]
serialize(Object[] items)
static Object[]
translate(Object[] original, ClassLoader newCL)
static Object
translate(Object original, ClassLoader newCL)
-
-
-
Method Detail
-
translate
public static Object[] translate(Object[] original, ClassLoader newCL) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
translate
public static Object translate(Object original, ClassLoader newCL) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
serialize
public static byte[] serialize(Object[] items) throws IOException
- Throws:
IOException
-
deserialize
public static Object[] deserialize(byte[] bytes, ClassLoader cl, Object[] original) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundException
IOException
-
-