wt.util
Class InstalledProperties

java.lang.Object
  extended bywt.util.InstalledProperties

public class InstalledProperties
extends Object

InstalledProperties reads in the installed.properties to a protected Properties object. This class also contains a method, isInstalled, which identifies if a particular property was set in the installed.properties file.


Field Summary
static String ARCHIVE_SYSTEM
           
static String AUTOCAD
           
static String CADDS
           
static String CADENCE
           
static String CATIA4
           
static String CATIA5
           
static String CLASSIFICATION_AND_REUSE
           
static String CYA_IARCHIVE
           
static String ECAD
           
static String ESI
           
static String ESI_ORACLE
           
static String ESI_SAP
           
private static String ESI_VERSION
           
static String FOUNDATION
           
static String IDEAS
           
protected static Properties installed
           
static String INTERCOMM
           
static String INVENTOR
           
static String MENTORGRAPHICS
           
static String OPTEGRA
           
static String PARTSLINK
           
static String PARTSLINK_CATALOG
           
static String PDML_PROI
           
static String PDMLINK
           
static String PRO_I
           
static String PROE
           
static String PROJECTLINK
           
static String RESOURCE_NAME
           
static String SCMI
           
static String SOLIDWORKS
           
static String SUMA
           
static String UNIGRAPHICS
           
private static String WGM
           
static String WINDCHILL_PDM
           
 
Constructor Summary
InstalledProperties()
           
 
Method Summary
static boolean isInstalled(String key)
          Returns a boolean value indicating whether the optional application specified by the given String key is installed.
static boolean isSolutionInstalled()
          Used by WindchillLoader to verify that the installation is complete, that is, an application installer has been run.
static void main(String[] args)
          Simple tester.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARCHIVE_SYSTEM

public static final String ARCHIVE_SYSTEM
See Also:
Constant Field Values

RESOURCE_NAME

public static final String RESOURCE_NAME
See Also:
Constant Field Values

PROJECTLINK

public static final String PROJECTLINK
See Also:
Constant Field Values

PDMLINK

public static final String PDMLINK
See Also:
Constant Field Values

PRO_I

public static final String PRO_I
See Also:
Constant Field Values

PDML_PROI

public static final String PDML_PROI
See Also:
Constant Field Values

PARTSLINK

public static final String PARTSLINK
See Also:
Constant Field Values

CLASSIFICATION_AND_REUSE

public static final String CLASSIFICATION_AND_REUSE
See Also:
Constant Field Values

PARTSLINK_CATALOG

public static final String PARTSLINK_CATALOG
See Also:
Constant Field Values

WINDCHILL_PDM

public static final String WINDCHILL_PDM
See Also:
Constant Field Values

FOUNDATION

public static final String FOUNDATION
See Also:
Constant Field Values

SUMA

public static final String SUMA
See Also:
Constant Field Values

SCMI

public static final String SCMI
See Also:
Constant Field Values

ESI_VERSION

private static final String ESI_VERSION
See Also:
Constant Field Values

ESI_SAP

public static final String ESI_SAP
See Also:
Constant Field Values

ESI_ORACLE

public static final String ESI_ORACLE
See Also:
Constant Field Values

CYA_IARCHIVE

public static final String CYA_IARCHIVE
See Also:
Constant Field Values

WGM

private static final String WGM
See Also:
Constant Field Values

AUTOCAD

public static final String AUTOCAD
See Also:
Constant Field Values

CADDS

public static final String CADDS
See Also:
Constant Field Values

CADENCE

public static final String CADENCE
See Also:
Constant Field Values

CATIA4

public static final String CATIA4
See Also:
Constant Field Values

CATIA5

public static final String CATIA5
See Also:
Constant Field Values

ECAD

public static final String ECAD
See Also:
Constant Field Values

IDEAS

public static final String IDEAS
See Also:
Constant Field Values

INVENTOR

public static final String INVENTOR
See Also:
Constant Field Values

MENTORGRAPHICS

public static final String MENTORGRAPHICS
See Also:
Constant Field Values

PROE

public static final String PROE
See Also:
Constant Field Values

SOLIDWORKS

public static final String SOLIDWORKS
See Also:
Constant Field Values

UNIGRAPHICS

public static final String UNIGRAPHICS
See Also:
Constant Field Values

ESI

public static final String ESI
See Also:
Constant Field Values

OPTEGRA

public static final String OPTEGRA
See Also:
Constant Field Values

INTERCOMM

public static final String INTERCOMM
See Also:
Constant Field Values

installed

protected static Properties installed
Constructor Detail

InstalledProperties

public InstalledProperties()
Method Detail

isInstalled

public static boolean isInstalled(String key)
Returns a boolean value indicating whether the optional application specified by the given String key is installed. The given String key corresponds to the key used in the installed.properties file.

Parameters:
key - the String corresponding to an entry in the installed.properties file.
Returns:
true if the application corresponding to the given key is installed.

isSolutionInstalled

public static boolean isSolutionInstalled()
Used by WindchillLoader to verify that the installation is complete, that is, an application installer has been run.

Returns:
true if at least one of the required solutions (applications) is installed

main

public static void main(String[] args)
                 throws IOException
Simple tester. Prints value of Documentation and WEFPro properties.

Supported API: false

Throws:
IOException