Skip to content

Most visited

Recently visited

navigation
Added in API level 1

ContentHandlerFactory

public interface ContentHandlerFactory

java.net.ContentHandlerFactory


This interface defines a factory for content handlers. An implementation of this interface should map a MIME type into an instance of ContentHandler.

This interface is used by the URLStreamHandler class to create a ContentHandler for a MIME type.

See also:

Summary

Public methods

abstract ContentHandler createContentHandler(String mimetype)

Creates a new ContentHandler to read an object from a URLStreamHandler.

Public methods

createContentHandler

Added in API level 1
ContentHandler createContentHandler (String mimetype)

Creates a new ContentHandler to read an object from a URLStreamHandler.

Parameters
mimetype String: the MIME type for which a content handler is desired.
Returns
ContentHandler a new ContentHandler to read an object from a URLStreamHandler.

See also:

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.