Top Fields Constructors Methods
java.net

pack-priv Class UnknownContentHandler

Located in compilation unit of java.net.URLConnection.

extends ContentHandler
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final ContentHandler

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Object
getContent(URLConnection
a URL connection.
uc
)

Implements abstract java.net.ContentHandler.getContent.

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.

Inherited from java.net.ContentHandler:
getContent

Field Detail

INSTANCEback to summary
pack-priv static final ContentHandler INSTANCE

Constructor Detail

UnknownContentHandlerback to summary
pack-priv UnknownContentHandler()

Method Detail

getContentback to summary
public Object getContent(URLConnection uc) throws IOException

Implements abstract java.net.ContentHandler.getContent.

Doc from java.net.ContentHandler.getContent.

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.

Parameters
uc:URLConnection

a URL connection.

Returns:Object

the object read by the ContentHandler.

Exceptions
IOException:
if an I/O error occurs while reading the object.