The multi-thread download technology was implemented in the previous chapter. For the sake of image, I made an interface using netbean, but initially implemented the multi-thread download function. breakpoint download was added as a version upgrade, let's take a look at the effect.
Download details
Welcome to the quick download assistant --> download speed is not as fast as there are too many threads! Folder already exists default thread count: 3 save path: D:/zj_downloader parse download title: 31 total file length: 5562040d:/zj_downloader/downloader.exe thread: 1 download: --- 0 ---> 1854012d:/zj_downloader/downloader.exe thread: 2 download: --- 1854013 ---> 3708025d:/zj_downloader/downloader.exe thread: 3 download: --- 3708026 ---> 5562040 thread: 3. Start download thread: 2. Start download thread: 1. Start download thread: 2. Download finished thread: 1. Download finished thread: 3. Download finished.
The downloaded content is a self-built server. Download an online file as follows:
Because the dormitory cannot access the Internet, it uses a bridge between the network with mobile phone traffic, and the speed is relatively slow. After the download is complete, run the downloaded software, which can be installed. instructions can be downloaded completely.
Download tool: http://download.csdn.net/download/jwzhangjie/5870415
In addition, I used JDK for compiling. If it is not the current version, an error will be reported.