• 大小: 2.83M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-22
  • 标签: 下载  任务  

资源简介


资源截图

代码片段和文件信息

package com.zhuiji7.filedownloader.download;

import android.content.Context;
import android.os.Handler;
import android.os.Message;

import com.zhuiji7.filedownloader.download.dbcontrol.DataKeeper;
import com.zhuiji7.filedownloader.download.dbcontrol.FileHelper;
import com.zhuiji7.filedownloader.download.dbcontrol.bean.SQLDownLoadInfo;

import java.io.File;
import java.io.InputStream;
import java.io.RandomAccessFile;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * 类功能描述:下载执行类,每一个 DataKeeper对象 代表一个下载任务

 *
 * @author zhuiji7
 * @email 470508081@qq.com
 * @version 1.0
 * 


 */
public class DownLoader {
    privat

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-11-12 04:44  FileDownloader-master\
     文件          91  2015-11-12 04:44  FileDownloader-master\.gitignore
     目录           0  2015-11-12 04:44  FileDownloader-master\.idea\
     文件          14  2015-11-12 04:44  FileDownloader-master\.idea\.name
     文件         686  2015-11-12 04:44  FileDownloader-master\.idea\compiler.xml
     目录           0  2015-11-12 04:44  FileDownloader-master\.idea\copyright\
     文件          74  2015-11-12 04:44  FileDownloader-master\.idea\copyright\profiles_settings.xml
     文件         608  2015-11-12 04:44  FileDownloader-master\.idea\gradle.xml
     文件        2226  2015-11-12 04:44  FileDownloader-master\.idea\misc.xml
     文件         365  2015-11-12 04:44  FileDownloader-master\.idea\modules.xml
     文件         564  2015-11-12 04:44  FileDownloader-master\.idea\runConfigurations.xml
     文件         164  2015-11-12 04:44  FileDownloader-master\.idea\vcs.xml
     文件         945  2015-11-12 04:44  FileDownloader-master\FileDownloader.iml
     文件        1929  2015-11-12 04:44  FileDownloader-master\README.md
     目录           0  2015-11-12 04:44  FileDownloader-master\app\
     文件           7  2015-11-12 04:44  FileDownloader-master\app\.gitignore
     文件        7615  2015-11-12 04:44  FileDownloader-master\app\app.iml
     文件         592  2015-11-12 04:44  FileDownloader-master\app\build.gradle
     文件         691  2015-11-12 04:44  FileDownloader-master\app\proguard-rules.pro
     目录           0  2015-11-12 04:44  FileDownloader-master\app\src\
     目录           0  2015-11-12 04:44  FileDownloader-master\app\src\main\
     文件         970  2015-11-12 04:44  FileDownloader-master\app\src\main\AndroidManifest.xml
     目录           0  2015-11-12 04:44  FileDownloader-master\app\src\main\java\
     目录           0  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\
     目录           0  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\zhuiji7\
     目录           0  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\zhuiji7\filedownloader\
     目录           0  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\zhuiji7\filedownloader\download\
     文件        1281  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\zhuiji7\filedownloader\download\DownLoadFileInfo.java
     文件        1312  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\zhuiji7\filedownloader\download\DownLoadListener.java
     文件       14593  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\zhuiji7\filedownloader\download\DownLoadManager.java
     文件        1231  2015-11-12 04:44  FileDownloader-master\app\src\main\java\com\zhuiji7\filedownloader\download\DownLoadService.java
............此处省略41个文件信息

评论

共有 条评论