| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.service.webappregistry.WebAppUtil
public abstract class WebAppUtil
 WebAppUtil is a utility class for WebAppRegistry.
 It has a static accessor for the WebAppRegistry object and has 
 several convenience methods for getting information from the 
 registry.
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
static boolean | 
mLoggingDebug
 | 
static boolean | 
mLoggingError
 | 
| Constructor Summary | |
|---|---|
WebAppUtil()
 | 
|
| Method Summary | |
|---|---|
static java.util.Map | 
deepCopy(java.util.Map pWebApps)
 | 
static java.lang.String | 
getWebAppContext(java.lang.String pWebAppName)
Get the web app context root given the web app name  | 
static java.util.Map | 
getWebAppContextAndPathFromSrc(java.lang.String srcString)
Return the context root and path from a string formatted as WebAppName:/path/in/app.  | 
static java.lang.String | 
getWebAppContextFromSrc(java.lang.String srcString)
Returns the web app context root given a string of the format WebAppName:/path/in/app  | 
static java.lang.Object | 
getWebAppContextRegistry()
static accessor for the WebAppContextRegistry  | 
static void | 
printWebApps(java.util.Map pWebApps,
             java.lang.String label)
printWebApps Prints out the Map to the debug log | 
static java.lang.String | 
trimFileName(java.lang.String pPath,
             char c)
Describe trimFileName method here. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String CLASS_VERSION
public static boolean mLoggingDebug
public static boolean mLoggingError
| Constructor Detail | 
|---|
public WebAppUtil()
| Method Detail | 
|---|
public static java.lang.String getWebAppContext(java.lang.String pWebAppName)
pWebAppName - the name of the web app
public static java.lang.String getWebAppContextFromSrc(java.lang.String srcString)
srcString - 
public static java.util.Map getWebAppContextAndPathFromSrc(java.lang.String srcString)
srcString - 
public static java.lang.Object getWebAppContextRegistry()
public static java.lang.String trimFileName(java.lang.String pPath,
                                            char c)
trimFileName method here.
pPath - a String valuec - a char value
String value
public static void printWebApps(java.util.Map pWebApps,
                                java.lang.String label)
printWebApps Prints out the Map to the debug log
pWebApps - a Map valuelabel - a String valuepublic static java.util.Map deepCopy(java.util.Map pWebApps)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||