Klasse DownloadThread

java.lang.Object
java.lang.Thread
ui.common.download.DownloadThread
Alle implementierten Schnittstellen:
Runnable, RBCWrapperDelegate

public class DownloadThread extends Thread implements RBCWrapperDelegate
DownloadManager downloads a large file from a server. If the file is splitted into several chunks, it downloads them separately and merges them altogether again. Each chunk is checked against its content length provided by HTTP. The whole downloaded file is checked against the CRC checksum which is stored in the file with file extension crc.
Download file consists of:
 <chunk>.001
 <chunk>.002
 ...
 <chunk>.<N>
 <file>.crc
 
(where the chunks will be merged to <file>.<ext>) or
 <file>.<ext>
 <file>.crc
 
CRC file contents:
 filename=<file>.<ext>
 size=<fileSizeInBytes>
 crc32=<8DigitsHexCRC32>
 
Autor:
Ken Händel