xUtils测试案例

2016-8-27 流沙 Android

package com.gyarmy.threaddownload; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.InputStream; import java.io.RandomAccessFile; import java.net.HttpURLConnection; import java.net.URL; import com.lidroid.xutils.HttpUtils; import com.lidroid....

阅读全文>>

标签: 下载

评论(0) 浏览(464)


多线程下载实例测试

2016-8-27 流沙 JAVA

package com.gyarmy.testDownload; import java.io.File; import java.io.InputStream; import java.io.RandomAccessFile; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; public class ThreadDownload { private stat...

阅读全文>>

标签: 下载

评论(0) 浏览(457)


Powered by 流沙团