Java in a Nutshell

Previous Chapter 28
The java.net Package
Next
 

28.4 java.net.ContentHandlerFactory (JDK 1.0)

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);
}

Passed To:

URLConnection.setContentHandlerFactory()


Previous Home Next
java.net.ContentHandler (JDK 1.0) Book Index java.net.DatagramPacket (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java