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