java.net
public interface ContentHandlerFactory
ContentHandler
objects.
It consists of one method that, when passed a MIME type, returns a
handler for that type.Modifier and Type | Method and Description |
---|---|
ContentHandler |
createContentHandler(String mimeType)
This method is passed a MIME type as a string and is responsible for
returning the appropriate
ContentHandler object. |
ContentHandler createContentHandler(String mimeType)
ContentHandler
object.mimeType
- The MIME type to map to a ContentHandler
ContentHandler
for the passed in MIME type