Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public abstract Object getContent(URLConnection con);