Example #1
0
 public Crawler(LongTimeTask ltt) {
   this.task = ltt;
   if (ltt == null)
     this.task = LongTimeTask.createEmptyInstance();
 }
Example #2
0
 public SiteImporter(String file) {
   this.file = file;
   this.task = LongTimeTask.createEmptyInstance();
 }