W3Cschool
恭喜您成為首批注冊用戶
獲得88經驗值獎勵
public interface ContentHandlerFactory
該接口為內容處理程序定義了一個工廠。 此接口的實現應將 MIME 類型映射到 ContentHandler 的實例。
URLStreamHandler 類使用此接口為 MIME 類型創(chuàng)建 ContentHandler。
修飾符和類型 | 方法 | 描述 |
---|---|---|
ContentHandler | createContentHandler(String mimetype) | 創(chuàng)建一個新的 ContentHandler 以從 URLStreamHandler 讀取對象。 |
ContentHandler createContentHandler(String mimetype)
創(chuàng)建一個新的 ContentHandler 以從 URLStreamHandler 讀取對象。
參數:
參數名稱 | 參數描述 |
---|---|
mimetype | 需要內容處理程序的 MIME 類型。 |
返回:
一個新的 ContentHandler 從 URLStreamHandler 讀取對象。
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯系方式:
更多建議: