FileDocCategorySizeDatePackage
DataContentHandlerFactory.javaAPI DocGlassfish v2 API2741Mon May 14 15:29:52 BST 2007javax.activation

DataContentHandlerFactory

public interface DataContentHandlerFactory
This interface defines a factory for DataContentHandlers. An implementation of this interface should map a MIME type into an instance of DataContentHandler. The design pattern for classes implementing this interface is the same as for the ContentHandler mechanism used in java.net.URL.

Fields Summary
Constructors Summary
Methods Summary
public javax.activation.DataContentHandlercreateDataContentHandler(java.lang.String mimeType)
Creates a new DataContentHandler object for the MIME type.

param
mimeType the MIME type to create the DataContentHandler for.
return
The new DataContentHandler, or null if none are found.