public Object getContent(URLConnection con, java.lang.Class [] neededTypeOfContent) { Object o = this.getContent(con); foreach (java.lang.Class cls in neededTypeOfContent) { if (Type.GetTypeFromHandle(Type.GetTypeHandle(cls)).Equals( Type.GetTypeFromHandle(Type.GetTypeHandle(o)))) { return(o); } } return(null); }
public abstract Object getContent(URLConnection con);