moaxcp / download-magic

Automatically exported from code.google.com/p/project-penny
0 stars 0 forks source link

Add Initializing to Finalizing in Downloader #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Downloader needs to be able to skip downloading. This can be done by setting 
downloaded to the size in the processor or setting the status to FINALIZING in 
the processor.

Setting downloaded:
The processor can set downloaded and downloader can check. If the size matches 
it will not have to download. If the size is not set (-1) the downloader will 
continue from downloaded.

Setting status:
Setting the status is an option but it should not be used. The Downloader 
should always control the status of a download. In fact setStatus in Download 
should probably be package only.

Allow the processor to set downloaded. The downloader needs to be smart enough 
to check downloaded and either continue from where it left off or skip to 
finalizing.

Original issue reported on code.google.com by moa...@gmail.com on 11 Jan 2013 at 12:35

GoogleCodeExporter commented 9 years ago
Issue 59 has been merged into this issue.

Original comment by moa...@gmail.com on 11 Jan 2013 at 1:24

GoogleCodeExporter commented 9 years ago

Original comment by moa...@gmail.com on 13 Jan 2013 at 11:13