|
|
@ -15,27 +15,17 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
package com.arialyy.aria.http.download; |
|
|
|
package com.arialyy.aria.http.download; |
|
|
|
|
|
|
|
|
|
|
|
import com.arialyy.aria.core.TaskRecord; |
|
|
|
|
|
|
|
import com.arialyy.aria.core.common.SubThreadConfig; |
|
|
|
|
|
|
|
import com.arialyy.aria.core.download.DTaskWrapper; |
|
|
|
import com.arialyy.aria.core.download.DTaskWrapper; |
|
|
|
import com.arialyy.aria.core.listener.IEventListener; |
|
|
|
import com.arialyy.aria.core.listener.IEventListener; |
|
|
|
import com.arialyy.aria.core.loader.AbsNormalLoader; |
|
|
|
import com.arialyy.aria.core.loader.AbsNormalLoader; |
|
|
|
import com.arialyy.aria.core.loader.AbsNormalLoaderUtil; |
|
|
|
import com.arialyy.aria.core.loader.AbsNormalLoaderUtil; |
|
|
|
import com.arialyy.aria.core.loader.AbsNormalTTBuilderAdapter; |
|
|
|
|
|
|
|
import com.arialyy.aria.core.loader.IRecordHandler; |
|
|
|
|
|
|
|
import com.arialyy.aria.core.loader.LoaderStructure; |
|
|
|
import com.arialyy.aria.core.loader.LoaderStructure; |
|
|
|
import com.arialyy.aria.core.loader.NormalLoader; |
|
|
|
import com.arialyy.aria.core.loader.NormalLoader; |
|
|
|
import com.arialyy.aria.core.loader.NormalTTBuilder; |
|
|
|
import com.arialyy.aria.core.loader.NormalTTBuilder; |
|
|
|
import com.arialyy.aria.core.loader.NormalThreadStateManager; |
|
|
|
import com.arialyy.aria.core.loader.NormalThreadStateManager; |
|
|
|
import com.arialyy.aria.core.task.IThreadTaskAdapter; |
|
|
|
|
|
|
|
import com.arialyy.aria.core.wrapper.AbsTaskWrapper; |
|
|
|
import com.arialyy.aria.core.wrapper.AbsTaskWrapper; |
|
|
|
import com.arialyy.aria.http.HttpRecordHandler; |
|
|
|
import com.arialyy.aria.http.HttpRecordHandler; |
|
|
|
import com.arialyy.aria.http.HttpTaskOption; |
|
|
|
import com.arialyy.aria.http.HttpTaskOption; |
|
|
|
import com.arialyy.aria.util.ALog; |
|
|
|
|
|
|
|
import com.arialyy.aria.util.BufferedRandomAccessFile; |
|
|
|
|
|
|
|
import com.arialyy.aria.util.FileUtil; |
|
|
|
|
|
|
|
import java.io.File; |
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @Author lyy |
|
|
|
* @Author lyy |
|
|
@ -60,6 +50,4 @@ public final class HttpDLoaderUtil extends AbsNormalLoaderUtil { |
|
|
|
structure.accept(getLoader()); |
|
|
|
structure.accept(getLoader()); |
|
|
|
return structure; |
|
|
|
return structure; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|