electric.util.classpath
Class ClassPath

java.lang.Object
  extended byelectric.util.classpath.ClassPath

public class ClassPath
extends java.lang.Object

ClassPath helps determine where GLUE has been installed

Author:
webMethods

Constructor Summary
ClassPath()
           
 
Method Summary
static java.lang.String[] getClassPaths()
          Gets the classpath system property, parses it, and stores them in a String array.
static java.lang.String getJarPath(java.lang.String jarFilename)
          Returns the path to a given Jar file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPath

public ClassPath()
Method Detail

getJarPath

public static java.lang.String getJarPath(java.lang.String jarFilename)
Returns the path to a given Jar file.

Parameters:
jarFilename - The jar filename to search for within the classpath.
Returns:
The jar file path or null if not found.

getClassPaths

public static java.lang.String[] getClassPaths()
Gets the classpath system property, parses it, and stores them in a String array.

Returns:
An array of strings containing each path within the classpath.


copyright© 2001-2004 by webMethods All Rights Reserved.