Пример #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();
 }