com.ptc.windchill.util
Class ModuleDir

java.lang.Object
  extended bycom.ptc.windchill.util.ModuleDir
Direct Known Subclasses:
MutableModuleDir

public class ModuleDir
extends Object

ModuleDir encapsulates the handling of the module directory definition.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
protected static MappedRegistry dirRegistry
           
protected static String MODULE_DIR_FILE
           
protected static String MODULE_INSTALL
           
static String MODULE_INSTALL_ROOT
           
private static String RESOURCE
           
static String WT_HOME
           
static String WT_ROOT
           
 
Constructor Summary
ModuleDir()
           
 
Method Summary
static String getModuleDir(String module)
          Gets root directory for a module.
static String getModuleInstallDir(String module)
          Gets the standard install directory for a module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

dirRegistry

protected static MappedRegistry dirRegistry

MODULE_INSTALL

protected static final String MODULE_INSTALL
See Also:
Constant Field Values

MODULE_DIR_FILE

protected static final String MODULE_DIR_FILE

WT_ROOT

public static final String WT_ROOT

WT_HOME

public static final String WT_HOME

MODULE_INSTALL_ROOT

public static final String MODULE_INSTALL_ROOT
Constructor Detail

ModuleDir

public ModuleDir()
Method Detail

getModuleDir

public static String getModuleDir(String module)
Gets root directory for a module. If not defined, it returns the $wt.home as the default directory.

Supported API: false

Parameters:
module - name of the module
Returns:
String root directory for the module

getModuleInstallDir

public static String getModuleInstallDir(String module)
Gets the standard install directory for a module.

Supported API: false

Parameters:
module - name of the module
Returns:
String standard install directory for the module