public interface DownloadCallback<T>
文件下载回调接口
2020-02-03 16:48
| 限定符和类型 | 方法和说明 |
|---|---|
T |
receive(InputStream inputStream)
注意不能直接返回入参的InputStream,因为此方法返回后将关闭原输入流
不能关闭inputStream? |
T receive(InputStream inputStream) throws IOException
inputStream - 返回数据输入流IOException - IO异常Copyright © 2021. All rights reserved.