objects.writeObject(object);
objects.close();
}
public Object readObject(InputStream stream) throws IOException, ClassNotFoundException {
ObjectInputStream objects = new ObjectInputStreamWithClassLoader(stream, _loader);
Object object = objects.readObject();
objects.close();
return object;
}