优化下载

pull/330/head
AriaLyy 8 years ago
parent 235dfef19d
commit 822e57365f
  1. 2
      .idea/misc.xml
  2. 2
      Aria/src/main/java/com/arialyy/aria/core/AMReceiver.java
  3. 8
      Aria/src/main/java/com/arialyy/aria/core/AMUplodReceiver.java
  4. 16
      Aria/src/main/java/com/arialyy/aria/core/RequestEnum.java
  5. 10
      Aria/src/main/java/com/arialyy/aria/core/TaskEntity.java

@ -37,7 +37,7 @@
<ConfirmationsSetting value="0" id="Add" /> <ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" /> <ConfirmationsSetting value="0" id="Remove" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">

@ -15,9 +15,7 @@
*/ */
package com.arialyy.aria.core; package com.arialyy.aria.core;
import android.os.Build;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import android.text.TextUtils;
import com.arialyy.aria.core.scheduler.DownloadSchedulers; import com.arialyy.aria.core.scheduler.DownloadSchedulers;
import com.arialyy.aria.core.scheduler.OnSchedulerListener; import com.arialyy.aria.core.scheduler.OnSchedulerListener;
import com.arialyy.aria.util.CheckUtil; import com.arialyy.aria.util.CheckUtil;

@ -0,0 +1,8 @@
package com.arialyy.aria.core;
/**
* Created by Aria.Lao on 2017/1/18.
* AM 上传文件接收器
*/
public class AMUplodReceiver {
}

@ -0,0 +1,16 @@
package com.arialyy.aria.core;
/**
* Created by Aria.Lao on 2017/1/23.
*/
public enum RequestEnum {
GET("GET"), POST("POST");
String name;
RequestEnum(String name) {
this.name = name;
}
}

@ -0,0 +1,10 @@
package com.arialyy.aria.core;
/**
* Created by Aria.Lao on 2017/1/23.
* 任务实体
*/
public class TaskEntity {
public DownloadEntity downloadEntity;
public RequestEnum requestEnum = RequestEnum.GET;
}
Loading…
Cancel
Save