public class SerializeUtils
extends java.lang.Object
Constructor and Description |
---|
SerializeUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
deserialization(java.lang.String filePath)
deserialization from file
|
static void |
serialization(java.lang.String filePath,
java.lang.Object obj)
serialize to file
|
public static java.lang.Object deserialization(java.lang.String filePath)
filePath
- java.lang.RuntimeException
- if an error occurspublic static void serialization(java.lang.String filePath, java.lang.Object obj)
filePath
- obj
- java.lang.RuntimeException
- if an error occurs