public class DownloadString extends AbstractDownloadObject
String
をダウンロードデータとするためのクラス。修飾子とタイプ | フィールドと説明 |
---|---|
protected String |
value
ダウンロード内容。
|
additionalHeaders, charset, contentType, DEFAULT_CHARSET, DEFAULT_CONTENT_TYPE, name, NO_DOWNLOAD_CONTENT_ERROR
コンストラクタと説明 |
---|
DownloadString(String name,
String value)
コンストラクタ。
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected byte[] |
getContent()
ダウンロード内容をバイト配列として取得する。
|
int |
getLengthOfData()
ダウンロードサイズを取得する。
|
protected InputStream |
getStreamInternal()
ダウンロード内容のストリームを内部的に取得する。
|
addHeader, getAdditionalHeaders, getCharset, getContentType, getName, getStream, setCharset, setContentType, setName
protected String value
public int getLengthOfData()
getLengthOfData
クラス内 AbstractDownloadObject
protected byte[] getContent()
protected InputStream getStreamInternal() throws IOException
getStreamInternal
クラス内 AbstractDownloadObject
IOException
Copyright © 2014. All Rights Reserved.