Here you can find the source of deserialize(String name)
public static Object deserialize(String name)
//package com.java2s; //License from project: Open Source License import java.io.FileInputStream; import java.io.ObjectInputStream; public class Main { public static Object deserialize(String name) { //System.out.println("777"); try {/*from w w w. ja va 2s . co m*/ //System.out.println("77"); FileInputStream fileIn = new FileInputStream(name); ObjectInputStream in = new ObjectInputStream(fileIn); //System.out.println("3"); Object object = in.readObject(); in.close(); fileIn.close(); return object; } catch (Exception i) { i.printStackTrace(); return null; } } }