ByteArrayInputStream istream = new ByteArrayInputStream(content);
ByteArrayInputStream bais = new ByteArrayInputStream(content); ObjectInput oi = new ObjectInputStream(bais); Object obj = oi.readObject(); oi.close(); bais.close();
  public Object getObject() throws IOException, ClassNotFoundException  {    ByteArrayInputStream istream = new ByteArrayInputStream(content);    return new ObjectInputStream(istream).readObject();  }