Name

ContentHandlerFactory

Synopsis

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

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.