CDC 1.1.2

java.net
インタフェース ContentHandlerFactory


public interface ContentHandlerFactory

このインタフェースは、コンテンツハンドラのファクトリを定義します。このインタフェースの実装では、MIME タイプを ContentHandler のインスタンスに指定する必要があります。 

このインタフェースは、URLStreamHandler クラスが、特定の MIME タイプの ContentHandler を作成するために使います。

導入されたバージョン:
JDK1.0
関連項目:
ContentHandler, URLStreamHandler

メソッドの概要
 ContentHandler createContentHandler(String mimetype)
          URLStreamHandler からオブジェクトを読み込むための ContentHandler を新しく作成します。
 

メソッドの詳細

createContentHandler

ContentHandler createContentHandler(String mimetype)
URLStreamHandler からオブジェクトを読み込むための ContentHandler を新しく作成します。

パラメータ:
mimetype - ContentHandler の MIME タイプ
戻り値:
URLStreamHandler からオブジェクトを読み込むための新しい ContentHandler
関連項目:
ContentHandler, URLStreamHandler

CDC 1.1.2

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.