public class SerializationUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E> E |
clone(E object) |
static <E> E |
clone(E object,
ClassLoader clazzLoader) |
static Object |
deserialize(InputStream is) |
static Object |
deserialize(InputStream is,
ClassLoader clazzLoader) |
static PMML |
deserializePMML(InputStream is) |
static PMML |
deserializePMML(InputStream is,
ClassLoader clazzLoader) |
static void |
serialize(Object object,
OutputStream os) |
static void |
serializePMML(PMML pmml,
OutputStream os) |
public static PMML deserializePMML(InputStream is) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionpublic static PMML deserializePMML(InputStream is, ClassLoader clazzLoader) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionpublic static Object deserialize(InputStream is) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionpublic static Object deserialize(InputStream is, ClassLoader clazzLoader) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionpublic static void serializePMML(PMML pmml, OutputStream os) throws IOException
IOExceptionpublic static void serialize(Object object, OutputStream os) throws IOException
IOExceptionpublic static <E> E clone(E object)
throws ClassNotFoundException,
IOException
ClassNotFoundExceptionIOExceptionpublic static <E> E clone(E object,
ClassLoader clazzLoader)
throws ClassNotFoundException,
IOException
ClassNotFoundExceptionIOExceptionCopyright © 2022. All rights reserved.