com.ptc.wgmecad
Class OhioIntegration
java.lang.Object
com.ptc.wgmecad.OhioIntegration
- public class OhioIntegration
- extends Object
Method Summary |
static Vector |
BuildBOM(String vendor,
String toolType,
DesignAll dsn,
String epmDocType,
File dsnFile,
File bomFile,
boolean variants)
|
static File[] |
generateOhioViewables(String vendor,
ECADType toolType,
String epmDocType,
String selFileName,
String expectedEDAFileName)
|
private static Vector |
getBOMData(BOMListMember inBOM)
|
static File[] |
GetBrdDesignArchiveFiles(String vendor,
File boardDirectory,
File[] excludeDirs)
|
static File[] |
GetDesignArchiveFiles(String vendor,
File Directory,
File[] excludeDirs)
|
static File[] |
getFiles(FileListResponseItem fileList,
File rootDir,
File[] excludeDirs)
|
static File[] |
getFiles(Response response,
int id,
File rootDir,
File[] excludeDirs)
|
static File[] |
GetSchDesignArchiveFiles(String vendor,
File schematicDirectory,
File[] excludeDirs)
|
static Response |
ProcessRequest(Request request)
|
static ECADType |
stringToECADType()
|
static ResponseItem[] |
verifyDesign(String vendor,
ECADType toolType,
String epmDocType,
String location,
String fileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PTC_COMMON_NAME
public static final String PTC_COMMON_NAME
- See Also:
- Constant Field Values
PTC_NUMBER
public static final String PTC_NUMBER
- See Also:
- Constant Field Values
PTC_QUANTITY
public static final String PTC_QUANTITY
- See Also:
- Constant Field Values
PTC_REF_DES
public static final String PTC_REF_DES
- See Also:
- Constant Field Values
sargReg
private static SecondaryArgumentRegister sargReg
sargMap
private static SecondaryArgumentMap sargMap
argReg
private static ArgumentRegister argReg
argMap
private static ArgumentMap argMap
logger
static org.apache.log4j.Logger logger
OhioIntegration
public OhioIntegration()
generateOhioViewables
public static File[] generateOhioViewables(String vendor,
ECADType toolType,
String epmDocType,
String selFileName,
String expectedEDAFileName)
verifyDesign
public static ResponseItem[] verifyDesign(String vendor,
ECADType toolType,
String epmDocType,
String location,
String fileName)
throws IOException,
VerifyDesignResponseException
- Throws:
IOException
VerifyDesignResponseException
stringToECADType
public static ECADType stringToECADType()
getFiles
public static File[] getFiles(FileListResponseItem fileList,
File rootDir,
File[] excludeDirs)
throws IOException
- Throws:
IOException
getFiles
public static File[] getFiles(Response response,
int id,
File rootDir,
File[] excludeDirs)
throws IOException
- Throws:
IOException
ProcessRequest
public static Response ProcessRequest(Request request)
throws IOException,
ResponseException
- Throws:
IOException
ResponseException
GetDesignArchiveFiles
public static File[] GetDesignArchiveFiles(String vendor,
File Directory,
File[] excludeDirs)
throws IOException,
ResponseException
- Throws:
IOException
ResponseException
GetSchDesignArchiveFiles
public static File[] GetSchDesignArchiveFiles(String vendor,
File schematicDirectory,
File[] excludeDirs)
throws IOException,
ResponseException
- Throws:
IOException
ResponseException
GetBrdDesignArchiveFiles
public static File[] GetBrdDesignArchiveFiles(String vendor,
File boardDirectory,
File[] excludeDirs)
throws IOException,
ResponseException
- Throws:
IOException
ResponseException
BuildBOM
public static Vector BuildBOM(String vendor,
String toolType,
DesignAll dsn,
String epmDocType,
File dsnFile,
File bomFile,
boolean variants)
throws IOException,
ResponseException,
UnexpectedFilesInVariantDir
- Throws:
IOException
ResponseException
UnexpectedFilesInVariantDir
getBOMData
private static Vector getBOMData(BOMListMember inBOM)
throws BOMResponseException
- Throws:
BOMResponseException