|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.cssj.resolver.helpers.AbstractSource
jp.cssj.resolver.http.HttpSource
HTTP/HTTPS接続からデータを取得するSourceです。
フィールドの概要 |
クラス jp.cssj.resolver.helpers.AbstractSource から継承したフィールド |
uri |
コンストラクタの概要 | |
HttpSource(URI uri,
org.apache.commons.httpclient.HttpClient httpClient)
|
メソッドの概要 | |
void |
close()
|
protected org.apache.commons.httpclient.HttpMethodBase |
createHttpMethod()
|
boolean |
exists()
データが存在すればtrueを返します。 |
String |
getEncoding()
キャラクタ・エンコーディングを返します。 |
File |
getFile()
ファイルとして返します。 |
org.apache.commons.httpclient.HttpClient |
getHttpClient()
|
InputStream |
getInputStream()
バイナリストリームを返します。 |
long |
getLength()
データのサイズを返します。 |
String |
getMimeType()
データのMIME型を返します。 |
Reader |
getReader()
テキストストリームを返します。 |
SourceValidity |
getValidity()
データの変更情報を返します。 |
boolean |
isInputStream()
バイナリデータとして取得可能ならtrueを返します。 |
boolean |
isReader()
テキストデータとして取得可能ならtrueを返します。 |
protected void |
tryConnect()
|
クラス jp.cssj.resolver.helpers.AbstractSource から継承したメソッド |
getURI, isFile |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public HttpSource(URI uri, org.apache.commons.httpclient.HttpClient httpClient)
メソッドの詳細 |
public org.apache.commons.httpclient.HttpClient getHttpClient()
public String getMimeType() throws IOException
Source
の記述:
IOException
public String getEncoding() throws IOException
Source
の記述:
IOException
public boolean exists() throws IOException
Source
の記述:
IOException
public boolean isInputStream() throws IOException
Source
の記述:
Source
内の isInputStream
AbstractSource
内の isInputStream
IOException
public boolean isReader() throws IOException
Source
の記述:
Source
内の isReader
AbstractSource
内の isReader
IOException
public InputStream getInputStream() throws IOException
Source
の記述:
IOException
protected void tryConnect() throws IOException
IOException
protected org.apache.commons.httpclient.HttpMethodBase createHttpMethod()
public Reader getReader() throws IOException
Source
の記述:
IOException
public File getFile()
Source
の記述:
public long getLength() throws IOException
Source
の記述:
IOException
public SourceValidity getValidity()
Source
の記述:
public void close()
AbstractSource
内の close
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |