Package java.net

Interface ContentHandlerFactory


  • public interface ContentHandlerFactory
    Defines a factory which is responsible for creating a ContentHandler.
    See Also:
    ContentHandler
    • Method Detail

      • createContentHandler

        ContentHandler createContentHandler​(String contentType)
        Creates a content handler to handle contentType.
        Parameters:
        contentType - specifies the content type which is handled by the returned ContentHandler.
        Returns:
        content handler object for a specific content type.