com.ptc.wgmecad.ecad
Class PropertyHelper

java.lang.Object
  extended bycom.ptc.wgmecad.ecad.PropertyHelper

public class PropertyHelper
extends Object


Constructor Summary
PropertyHelper()
           
 
Method Summary
static boolean bomTrue()
          function to test if create components for BOM is on
static ECADAssemblyHelper.AssemblyOptions getAssmOptions(File rootDir)
          function to load the assembly Properties file assuming that it exists
static Properties getASSMProperties(File rootDir)
          function to load the assembly Properties file assuming that it exists
static File getAttrPropertiesFile(File rootDir)
           
static Properties loadProperties()
          Convenience function to load the ECAD Properties file assuming that it lives in the codebase directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyHelper

public PropertyHelper()
Method Detail

loadProperties

public static Properties loadProperties()
                                 throws WTException,
                                        ECADPropertiesMissingException
Convenience function to load the ECAD Properties file assuming that it lives in the codebase directory

Throws:
WTException
ECADPropertiesMissingException

getAssmOptions

public static ECADAssemblyHelper.AssemblyOptions getAssmOptions(File rootDir)
                                                         throws WTException,
                                                                ECADPropertiesMissingException
function to load the assembly Properties file assuming that it exists

Throws:
WTException
ECADPropertiesMissingException

getASSMProperties

public static Properties getASSMProperties(File rootDir)
                                    throws WTException,
                                           ECADPropertiesMissingException
function to load the assembly Properties file assuming that it exists

Throws:
WTException
ECADPropertiesMissingException

getAttrPropertiesFile

public static File getAttrPropertiesFile(File rootDir)
                                  throws WTException,
                                         ECADPropertiesMissingException
Throws:
WTException
ECADPropertiesMissingException

bomTrue

public static boolean bomTrue()
function to test if create components for BOM is on