public interface java.net
ContentHandlerFactory


Show All Login
Java SE 6
  
Details
This interface defines a factory for content handlers. An implementation of this interface should map a MIME type into an instance of ContentHandler.

This interface is used by the URLStreamHandler class to create a ContentHandler for a MIME type.
version1.13, 11/17/05
sinceJDK1.0
See also java.net.ContentHandler, java.net.URLStreamHandler


Methods
public ContentHandler createContentHandler(String mimetype) Details
Creates a new ContentHandler to read an object from a URLStreamHandler.
mimetypethe MIME type for which a content handler is desired.
returna new ContentHandler to read an object from a URLStreamHandler.
See also java.net.ContentHandler, java.net.URLStreamHandler