Package net.sf.mpxj.primavera

Examples of net.sf.mpxj.primavera.PrimaveraDatabaseReader


      System.out.println("Reading Primavera database started.");
      long start = System.currentTimeMillis();

      Class.forName(driverClass);
      Connection c = DriverManager.getConnection(connectionString);
      PrimaveraDatabaseReader reader = new PrimaveraDatabaseReader();
      reader.setConnection(c);
      reader.setProjectID(Integer.valueOf(projectID).intValue());
      ProjectFile projectFile = reader.read();
      long elapsed = System.currentTimeMillis() - start;
      System.out.println("Reading database completed in " + elapsed + "ms.");

      System.out.println("Writing output file started.");
      start = System.currentTimeMillis();
View Full Code Here

TOP

Related Classes of net.sf.mpxj.primavera.PrimaveraDatabaseReader

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.