DataContentHandlerFactory (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.activation Interface 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.


方法摘要
 DataContentHandler createDataContentHandler(String mimeType)
          Creates a new DataContentHandler object for the MIME type.
 

方法详细信息

createDataContentHandler

DataContentHandler createDataContentHandler(String mimeType)
Creates a new DataContentHandler object for the MIME type.

参数:
mimeType - the MIME type to create the DataContentHandler for.
返回:
The new DataContentHandler, or null if none are found.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.