public interface DataContentHandlerFactory
DataContentHandlers
。
此接口的实现应将MIME类型映射到DataContentHandler的实例。
实现此接口的类的设计模式与java.net.URL中使用的java.net.URL
。
Modifier and Type | Method and Description |
---|---|
DataContentHandler |
createDataContentHandler(String mimeType)
为MIME类型创建一个新的DataContentHandler对象。
|
DataContentHandler createDataContentHandler(String mimeType)
mimeType
- 创建
mimeType
的MIME类型。
DataContentHandler
,如果没有找到,
则为null 。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.