public final class SerializationHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
serializeAndDeserializeBack(T t)
Serializes and deserializes given object back.
|
public static <T> T serializeAndDeserializeBack(T t)
throws IOException,
ClassNotFoundException
T - serialized typet - object to serialize and deserializeClassNotFoundException - if serialized object cannon be foundIOException - if any exception thrown by the underlying OutputStream