electric.util.path
Class Paths

java.lang.Object
  extended byelectric.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

Field Summary
 
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()
           
 
Method Summary
static java.lang.String getAppPath()
           
static java.lang.String getGlueHome()
           
static java.lang.String getWebInfPath()
           
static java.lang.String normalizePath(java.lang.String filename)
           
static void setAppPath(java.lang.String appPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Paths

public Paths()
Method Detail

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.