Package com.baulsupp.kolja.ansi.reports.engine

Examples of com.baulsupp.kolja.ansi.reports.engine.ReportEngineFactory


    return reportPrinter;
  }

  private static ReportEngine createReportEngine(CommandLine cmd, LogFormat format) throws Exception {
    ReportEngineFactory reportEngineFactory;

    if (cmd.hasOption('g')) {
      BeanFactory<ReportEngineFactory> builder = createServiceBuilder(ReportEngineFactory.class);

      reportEngineFactory = builder.create(cmd.getOptionValue('g'));
    } else {
      reportEngineFactory = new DefaultReportEngineFactory();
    }

    ReportEngine reportEngine = reportEngineFactory.createEngine();

    reportEngine.setLogFormat(format);

    return reportEngine;
  }
View Full Code Here

TOP

Related Classes of com.baulsupp.kolja.ansi.reports.engine.ReportEngineFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.