Revision 34026 branches/v2_0_0_prep/libraries/libCompat/src/org/gvsig/compat/se/net/SEDownloader.java

View differences:

SEDownloader.java
280 280
					}
281 281
				};
282 282
			}
283
			Thread downloader = new Thread(new Downloader(url, data, f, cancel.getID()));
283
			Thread downloader = new Thread(new Downloader(this, url, data, f, cancel.getID()));
284 284
			Thread monitor = new Thread(new Monitor(this, cancel));
285 285
			monitor.start();
286 286
			downloader.start();
......
447 447
		downloader.downloadException = null;
448 448
	}
449 449

  
450
	public Downloader(URL url, String data, File dstFile, Object groupID) {
450
	public Downloader(SEDownloader downloader, URL url, String data, File dstFile, Object groupID) {
451 451
		this.url = url;
452 452
		this.data = data;
453 453
		this.dstFile = dstFile;
454
		this.groupID = groupID;
454
		this.groupID = groupID;	
455
		this.downloader = downloader;
455 456
		downloader.downloadException = null;
456 457
	}
457 458

  

Also available in: Unified diff