|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.utl.ESIProperties
Assists ESI classes in obtaining ESI configuration information.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static int |
COLLECTION_SIZE_MULTIPLIER
|
private static String |
COLLECTION_SIZE_MULTIPLIER_PROPERTY
|
static boolean |
DEBUG
|
private static String |
DEBUG_PROPERTY
|
private static Properties |
properties
|
static String |
PROPERTY_PREFIX
|
private static String |
RESOURCE
|
static boolean |
VERBOSE
|
private static String |
VERBOSE_PROPERTY
|
Constructor Summary | |
ESIProperties()
|
Method Summary | |
static Class |
getClass(ESIPropertyRequest req)
Given an ESIPropertyRequest, return the java class that is identified by that property. |
static String |
getCodebasePath()
Returns the path to the root ESI directory within the Windchill codebase directory structure. |
static int |
getIntProperty(String name,
int deflt)
|
static String |
getProperty(ESIPropertyRequest request)
Returns the ESI property whose key equals the request.getName(). |
static boolean |
getProperty(ESIPropertyRequest request,
boolean dflt)
|
static String |
getProperty(String name)
Returns the ESI property whose key equals the name argument. |
static boolean |
getProperty(String name,
boolean dflt)
Convenience method to get a boolean property string and convert it to a boolean value. |
static String |
getProperty(String name,
String defaultValue)
Returns the ESI property whose key equals the name argument. |
private static boolean |
isTrue(String txt,
boolean dflt)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static Properties properties
public static final String PROPERTY_PREFIX
private static final String VERBOSE_PROPERTY
private static final String DEBUG_PROPERTY
private static final String COLLECTION_SIZE_MULTIPLIER_PROPERTY
public static boolean VERBOSE
public static boolean DEBUG
public static int COLLECTION_SIZE_MULTIPLIER
Constructor Detail |
public ESIProperties()
Method Detail |
public static String getProperty(String name)
name
-
public static String getProperty(String name, String defaultValue)
name
- defaultValue
-
public static String getProperty(ESIPropertyRequest request)
request
-
public static String getCodebasePath()
public static Class getClass(ESIPropertyRequest req)
req
-
public static boolean getProperty(String name, boolean dflt)
name
- the property name.
public static boolean getProperty(ESIPropertyRequest request, boolean dflt)
private static boolean isTrue(String txt, boolean dflt)
public static int getIntProperty(String name, int deflt)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |