java.net
Interface ContentHandlerFactory


public interface ContentHandlerFactory

This interface defines a factory for ContentHandler instances. It is used by the URLStreamHandler class to create ContentHandlers for various streams.


Method Summary
 ContentHandler createContentHandler(String mimetype)
          Creates a new ContentHandler to read an object from a URLStreamHandler.
 

Method Detail

createContentHandler

public ContentHandler createContentHandler(String mimetype)
Creates a new ContentHandler to read an object from a URLStreamHandler.

Parameters:
mimetype - The mime type for which a content handler is desired.