修改aria注释

pull/4/head
AriaLyy 8 years ago
parent 2a0348e61b
commit 9c428bcdb8
  1. 2
      .idea/misc.xml
  2. 14
      Aria/src/main/java/com/arialyy/aria/core/Aria.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_8" 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_7" 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">

@ -34,13 +34,13 @@ import com.arialyy.aria.core.task.Task;
* Aria启动管理全局任务 * Aria启动管理全局任务
* <pre> * <pre>
* <code> * <code>
* DownloadEntity mEntity = new DownloadEntity(); * //启动下载
* mEntity.setFileName(fileName); //设置文件名 * Aria.whit(this)
* mEntity.setDownloadUrl(downloadUrl); //设置下载链接 * .load(DOWNLOAD_URL) //下载地址,必填
* mEntity.setDownloadPath(downloadPath); //设置存放路径 * //文件保存路径,必填
* * .setDownloadPath(Environment.getExternalStorageDirectory().getPath() + "/test.apk")
* //启动下载 * .setDownloadName("test.apk") //文件名,必填
* Aria.whit(this).load(mEntity).start(); * .start();
* </code> * </code>
* </pre> * </pre>
*/ */

Loading…
Cancel
Save