java.net
インタフェース ContentHandlerFactory
public interface ContentHandlerFactory
このインタフェースは、コンテンツハンドラのファクトリを定義します。このインタフェースの実装では、MIME タイプを ContentHandler
のインスタンスに指定する必要があります。
このインタフェースは、URLStreamHandler
クラスが、特定の MIME タイプの ContentHandler
を作成するために使います。
- 導入されたバージョン:
- JDK1.0
- 関連項目:
ContentHandler
,
URLStreamHandler
createContentHandler
ContentHandler createContentHandler(String mimetype)
URLStreamHandler
からオブジェクトを読み込むための ContentHandler
を新しく作成します。
- パラメータ:
mimetype
- ContentHandler の MIME タイプ
- 戻り値:
URLStreamHandler
からオブジェクトを読み込むための新しい ContentHandler
- 関連項目:
ContentHandler
,
URLStreamHandler
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.