Examples of PrimaveraDatabaseReader


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
Copyright © 2018 www.massapi.com. 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.