Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
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:

Method Summary

java.net.ContentHandlercreateContentHandler(java.lang.String mime_type)

This method is passed a MIME type as a string and is responsible for returning the appropriate ContentType object.

Method Details

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: