|
|
@ -25,8 +25,6 @@ import java.io.IOException; |
|
|
|
import java.net.HttpURLConnection; |
|
|
|
import java.net.HttpURLConnection; |
|
|
|
import java.net.URL; |
|
|
|
import java.net.URL; |
|
|
|
import java.net.URLDecoder; |
|
|
|
import java.net.URLDecoder; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 下载文件信息获取 |
|
|
|
* 下载文件信息获取 |
|
|
@ -54,10 +52,6 @@ class FileInfoThread implements Runnable { |
|
|
|
void onFail(String url, String errorMsg); |
|
|
|
void onFail(String url, String errorMsg); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
FileInfoThread(DownloadTaskEntity taskEntity) { |
|
|
|
|
|
|
|
this(taskEntity, null); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FileInfoThread(DownloadTaskEntity taskEntity, OnFileInfoCallback callback) { |
|
|
|
FileInfoThread(DownloadTaskEntity taskEntity, OnFileInfoCallback callback) { |
|
|
|
this.mTaskEntity = taskEntity; |
|
|
|
this.mTaskEntity = taskEntity; |
|
|
|
mEntity = taskEntity.getEntity(); |
|
|
|
mEntity = taskEntity.getEntity(); |
|
|
|