/**
* Check task whether valid.
*
* @param task
* @return
*/
@MainThread
private void checkTask(@NonNull Task task) {
if (task == null
|| task.getUrlStr() == null
|| task.getFilePath() == null
|| task.getListener() == null
|| task.getErrorListener() == null) {
throw new IllegalArgumentException("task ,urlStr, filePath, listener, errorListener must not be null!");
}
}
MiniDownloader.java 文件源码
java
阅读 40
收藏 0
点赞 0
评论 0
项目:MiniDownloader
作者:
评论列表
文章目录