staticpublic Importer job;// static object to assure only one importer is running (if started from a servlet, this object is used to store the thread)
staticpublicWarcImporter job;// static object to assure only one importer is running (if started from a servlet, this object is used to store the thread)
privatefinalInputStreamsource;// current input warc archive
privateStringname;// file name of input source
@ -67,6 +67,7 @@ public class WarcImporter extends Thread implements Importer {
privatelongstartTime;// (for statistic)
privatefinallongsourceSize;// length of the input source (for statistic)
privatelongconsumed;// bytes consumed from input source (for statistic)
privatebooleanabort=false;// flag to signal stop of import
publicWarcImporter(InputStreamf){
source=f;
@ -107,7 +108,7 @@ public class WarcImporter extends Thread implements Importer {