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();