Java In A Nutshell, 5th Edition

ContentHandlerFactory java.net

Java 1.0

This interface defines a method that creates and returns an appropriate ContentHandler object for a specified MIME type. A systemwide ContentHandlerFactory interface may be specified using the URLConnection.setContentHandlerFactory( ) method. Normal applications never need to use or implement this interface.

public interface ContentHandlerFactory { // Public Instance Methods java.net.ContentHandler createContentHandler (String mimetype ); }

Passed To

URLConnection.setContentHandlerFactory( )

Категории