|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.hizlab.kagetaka.rendering.Content
net.hizlab.kagetaka.viewer.ViewerContent
ビューア用の拡張コンテンツを表すクラスです。
フィールドの概要 |
クラス net.hizlab.kagetaka.rendering.Content から継承したフィールド |
connection, contentLength, contentType, date, destroy, eTag, expiration, inputStream, lastModified, object, timeAdjustment, TYPE_ALL, TYPE_AUDIO, TYPE_IMAGE, TYPE_TEXT, url |
コンストラクタの概要 | |
ViewerContent(URLConnection connection,
net.hizlab.kagetaka.viewer.CacheEntry cacheEntry)
キャッシュエントリを元にしたコンテンツを作成します。 |
|
ViewerContent(URLConnection connection,
SSLCertification sslCertification)
コンテンツを作成します。 |
メソッドの概要 | |
String |
getFileName()
レポータを必要としないインプットストリームを返します。 |
InputStream |
getInputStream(Reporter reporter)
コンテンツを読み取る入力ストリームを返します。 |
Object |
getObject(int type)
コンテンツの中身をオブジェクトととして返します。 |
SSLCertification |
getSSLCertification()
SSL 証明書を返します。 |
boolean |
isCached()
キャッシュされたコンテンツかどうかを返します。 |
クラス net.hizlab.kagetaka.rendering.Content から継承したメソッド |
getContentType, getEncoding, setEncoding |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public ViewerContent(URLConnection connection, net.hizlab.kagetaka.viewer.CacheEntry cacheEntry)
connection
- コネクションcacheEntry
- キャッシュエントリpublic ViewerContent(URLConnection connection, SSLCertification sslCertification)
connection
- コネクションsslCertification
- SSL 証明書メソッドの詳細 |
public String getFileName()
public InputStream getInputStream(Reporter reporter) throws IOException
Content
内の getInputStream
reporter
- レポータ
IOException
- IO エラーが発生した場合public Object getObject(int type) throws IOException
Content
内の getObject
type
- 取得するコンテンツのタイプ
IOException
- IO エラーが発生した場合public SSLCertification getSSLCertification()
public boolean isCached()
Content
内の isCached
true
、
それ以外の場合は false
|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'