com.github.sd4324530.fastweixin.company.api.response
类 DownloadMediaResponse
java.lang.Object
com.github.sd4324530.fastweixin.api.entity.BaseModel
com.github.sd4324530.fastweixin.api.response.BaseResponse
com.github.sd4324530.fastweixin.company.api.response.DownloadMediaResponse
- 所有已实现的接口:
- Model, Serializable
public class DownloadMediaResponse
- extends BaseResponse
====================================================================
上海聚攒软件开发有限公司
--------------------------------------------------------------------
- 版本:
- 1.0.beta
====================================================================
- 作者:
- Nottyjay
- 另请参见:
- 序列化表格
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadMediaResponse
public DownloadMediaResponse()
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
setContent
public void setContent(InputStream content,
Integer length)
writeTo
public void writeTo(OutputStream out)
throws IOException
- 如果成功,则可以靠这个方法将数据输出
- 参数:
out - 调用者给的输出流
- 抛出:
IOException - 写流出现异常
Copyright © 2017. All rights reserved.