Package java.net

Interface ContentHandlerFactory


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

    Modifier and Type Method Description
    ContentHandler createContentHandler​(String contentType)
    Creates a content handler to handle contentType.
  • Method Details

    • 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.