    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface java.net.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.

##

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

##

createContentHandler

      public abstract 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.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index