target、receiver

This commit is contained in:
AriaLyy
2017-02-28 16:25:57 +08:00
parent 9bc87d75df
commit 9241c17513
16 changed files with 533 additions and 171 deletions

View File

@ -77,6 +77,13 @@ public class CheckUtil {
if (TextUtils.isEmpty(downloadUrl)) throw new IllegalArgumentException("下载链接不能为null");
}
/**
* 检测上传地址是否为null
*/
public static void checkUploadPath(String uploadPath) {
if (TextUtils.isEmpty(uploadPath)) throw new IllegalArgumentException("上传地址不能为null");
}
/**
* 检查任务实体
*/