URLConnection.setContentHandlerFactory

URLConnection.setContentHandlerFactory

Class Overview | Class Members | This Package | All Packages

Syntax
public static synchronized void setContentHandlerFactory( ContentHandlerFactory fac )
Parameters
fac
the desired factory.
Description
Sets the ContentHandlerFactory of an application. It can be called at most once by an application.

The ContentHandlerFactory instance is used to construct a content handler from a content type

Exceptions
Error if the factory has already been defined.
See Also
ContentHandlerFactory, getContent