Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 361
نمايش فراداده

ContentHandlerFactoryjava.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( )