java.net
Class UnknownContentHandler

java.lang.Object
  extended byjava.net.ContentHandler
      extended byjava.net.UnknownContentHandler

class UnknownContentHandler
extends ContentHandler


Constructor Summary
(package private) UnknownContentHandler()
           
 
Method Summary
 Object getContent(URLConnection uc)
          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.
 
Methods inherited from class java.net.ContentHandler
getContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownContentHandler

UnknownContentHandler()
Method Detail

getContent

public Object getContent(URLConnection uc)
                  throws IOException
Description copied from class: ContentHandler
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.

Specified by:
getContent in class ContentHandler
Parameters:
uc - a URL connection.
Returns:
the object read by the ContentHandler.
Throws:
IOException - if an I/O error occurs while reading the object.