From 822e57365fc3dcc8afc40251af240eade3060df9 Mon Sep 17 00:00:00 2001 From: AriaLyy <511455842@qq.com> Date: Mon, 23 Jan 2017 14:42:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/misc.xml | 2 +- .../java/com/arialyy/aria/core/AMReceiver.java | 2 -- .../com/arialyy/aria/core/AMUplodReceiver.java | 8 ++++++++ .../java/com/arialyy/aria/core/RequestEnum.java | 16 ++++++++++++++++ .../java/com/arialyy/aria/core/TaskEntity.java | 10 ++++++++++ 5 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 Aria/src/main/java/com/arialyy/aria/core/AMUplodReceiver.java create mode 100644 Aria/src/main/java/com/arialyy/aria/core/RequestEnum.java create mode 100644 Aria/src/main/java/com/arialyy/aria/core/TaskEntity.java diff --git a/.idea/misc.xml b/.idea/misc.xml index 5d199810..fbb68289 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -37,7 +37,7 @@ - + diff --git a/Aria/src/main/java/com/arialyy/aria/core/AMReceiver.java b/Aria/src/main/java/com/arialyy/aria/core/AMReceiver.java index f6d3e804..5ae43a1a 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/AMReceiver.java +++ b/Aria/src/main/java/com/arialyy/aria/core/AMReceiver.java @@ -15,9 +15,7 @@ */ package com.arialyy.aria.core; -import android.os.Build; import android.support.annotation.NonNull; -import android.text.TextUtils; import com.arialyy.aria.core.scheduler.DownloadSchedulers; import com.arialyy.aria.core.scheduler.OnSchedulerListener; import com.arialyy.aria.util.CheckUtil; diff --git a/Aria/src/main/java/com/arialyy/aria/core/AMUplodReceiver.java b/Aria/src/main/java/com/arialyy/aria/core/AMUplodReceiver.java new file mode 100644 index 00000000..981c5e6d --- /dev/null +++ b/Aria/src/main/java/com/arialyy/aria/core/AMUplodReceiver.java @@ -0,0 +1,8 @@ +package com.arialyy.aria.core; + +/** + * Created by Aria.Lao on 2017/1/18. + * AM 上传文件接收器 + */ +public class AMUplodReceiver { +} diff --git a/Aria/src/main/java/com/arialyy/aria/core/RequestEnum.java b/Aria/src/main/java/com/arialyy/aria/core/RequestEnum.java new file mode 100644 index 00000000..43423f82 --- /dev/null +++ b/Aria/src/main/java/com/arialyy/aria/core/RequestEnum.java @@ -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; + } + +} diff --git a/Aria/src/main/java/com/arialyy/aria/core/TaskEntity.java b/Aria/src/main/java/com/arialyy/aria/core/TaskEntity.java new file mode 100644 index 00000000..0cc6be80 --- /dev/null +++ b/Aria/src/main/java/com/arialyy/aria/core/TaskEntity.java @@ -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; +}