java.net
Interface ContentHandlerFactory
java.lang.Object
|
+--java.net.ContentHandlerFactory
public interface ContentHandlerFactory
This interface maps MIME types to ContentHandler objects. It consists
of one method that, when passed a MIME type, returns a handler for that
type.
Authors:- Aaron M. Renn (arenn@urbanophile.com)
- Warren Levy <warrenl@cygnus.com>
createContentHandler
public ContentHandler createContentHandler(java.lang.String mime_type)
This method is passed a MIME type as a string and is responsible for
returning the appropriate ContentType object.
Parameters:
Returns:
- The ContentHandler for the passed in MIME type