public final class PrimaveraConvert extends Object
PrimaveraConvert "com.microsoft.sqlserver.jdbc.SQLServerDriver" "jdbc:sqlserver://localhost;database=PMDB;user=privuser;password=privuser" 1 "c:\temp\project1.xml"
This assumes the use of the Microsoft JDBC driver to access the PMDB database on
a local SQL Server instance. The project with ID=1 is exported to
an MSPDI file.Constructor and Description |
---|
PrimaveraConvert() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method.
|
void |
process(String driverClass,
String connectionString,
String projectID,
FileFormat outputFormat,
String outputFile)
Extract Primavera project data and export in another format.
|
public static void main(String[] args)
args
- array of command line argumentspublic void process(String driverClass, String connectionString, String projectID, FileFormat outputFormat, String outputFile) throws Exception
driverClass
- JDBC driver class nameconnectionString
- JDBC connection stringprojectID
- project IDoutputFormat
- output formatoutputFile
- output fileException
Copyright © 2000–2024 Packwood Software. All rights reserved.