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, setNameprotected String value
public int getLengthOfData()
getLengthOfData クラス内 AbstractDownloadObjectprotected byte[] getContent()
protected InputStream getStreamInternal() throws IOException
getStreamInternal クラス内 AbstractDownloadObjectIOExceptionCopyright © 2014. All Rights Reserved.