StatisticsEngine defaultAnalysisEngine = new StatisticsEngine();
defaultAnalysisEngine.init();
IInputAdaptor fileInputAdaptor = new FileInputAdaptor();
IInputAdaptor httpInputAdaptor = new HttpInputAdaptor();
FileOutputAdaptor fileOutAdaptor = new FileOutputAdaptor();
FileJobExporter fileJobExporter = new FileJobExporter();
fileJobExporter.setMaxCreateReportWorker(2);
fileJobExporter.init();
fileOutAdaptor.setJobExporter(fileJobExporter);
JobResultMerger jobResultMerger = new JobResultMerger();
jobResultMerger.init();
defaultAnalysisEngine.addInputAdaptor(fileInputAdaptor);