API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.net. ContentHandler View Source
Author(s)
James Gosling
Since
JDK1.0
Version
1.20, 04/07/06
Serial
Hierarchy
 Object
      ContentHandler
Implements
Subclasses
Description
publicabstract abstract class ContentHandler
  The abstract class ContentHandler is the superclass of all classes that read an Object from a URLConnection.
Constructors
public ContentHandler ()
Methods
Hide/Show inherited methods
publicabstract Object getContent (URLConnection urlc) throws IOException
  Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object from it.
public Object getContent (URLConnection urlc, Class classes) throws IOException
  Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar