This interface defines a method that creates and returns an appropriate ContentHandler object for a specified MIME type. A system-wide ContentHandlerFactory interface may be specified by using the URLConnection.setContentHandlerFactory() method.
Normal applications never need to use or implement this interface.
public abstract interface ContentHandlerFactory {
// Public Instance Methods
public abstract ContentHandler createContentHandler(String mimetype);
}
URLConnection.setContentHandlerFactory()