- Timestamp:
- 2010-05-18T20:03:54+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/download/DownloadJob.java
r20924 r22103 387 387 // Add download 388 388 String new_url = line.substring(line.indexOf("`") + 1, line.lastIndexOf("'")); 389 //addDownload("http:/" + new_url);389 progress.addDownload("file"); //addDownload("http:/" + new_url.substring(cachedir_prefix_length()-1)); 390 390 } 391 391 } … … 415 415 String new_url = 416 416 line.substring(line.indexOf("`") + 1, line.lastIndexOf("'")); 417 //addDownload("http:/" + new_url);417 progress.addDownload("file"); //addDownload("http:/" + new_url.substring(cachedir_prefix_length()-1)); 418 418 downloadWarning(); 419 419 } … … 435 435 String total_ID = line.substring(line.indexOf(":") + 1, line.indexOf(">")); 436 436 progress.setTotalDownload((Integer.valueOf(total_ID)).intValue()); 437 progress.resetFileCount(); 437 progress.resetFileCount(); 438 progress.addDownload("files"); // for display: "Downloading files" 438 439 } 439 440 else if (line.lastIndexOf("<<Done>>") != -1) { … … 456 457 if(state == STOPPED) { 457 458 boolean terminatePerlScript = true; 458 459 459 460 // When GLI is working with wget-based download modes other than OAI (MediaWiki and Web 460 461 // download) and the STOP button has been pressed, wget needs to be prematurely terminated.
Note:
See TracChangeset
for help on using the changeset viewer.