electric.util.path
Class Paths
java.lang.Object
electric.util.path.Paths
- All Implemented Interfaces:
- IProductConfigConstants
- public class Paths
- extends java.lang.Object
- implements IProductConfigConstants
Paths contains logic for locating glue.home, app.home, and
normalizing paths to these locations.
- Author:
- webMethods
Fields inherited from interface electric.util.product.IProductConfigConstants |
ACTIVATION_CODE, APPLICATION_CONTEXT, CONFIG, ENABLER, GLUE_CONFIG_FILE_NAME, LICENSE_KEY, LICENSE_KEYS, MAJOR_VERSION, MINOR_VERSION, NAME, PATCH_VERSION, PRODUCT, PRODUCT_NAME, USER_ID, WEB_INF |
Constructor Summary |
Paths()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Paths
public Paths()
getGlueHome
public static java.lang.String getGlueHome()
getWebInfPath
public static java.lang.String getWebInfPath()
getAppPath
public static java.lang.String getAppPath()
setAppPath
public static void setAppPath(java.lang.String appPath)
- Parameters:
appPath
-
normalizePath
public static java.lang.String normalizePath(java.lang.String filename)
- Parameters:
filename
- If the file exists, use it directly.
If GLUE is running an application, normalize it to that application's WEB-INF.
Otherwise, normalize this to the common WEB-INF.
copyright© 2001-2004 by webMethods All Rights Reserved.