org.apache.axis.utils
Class ClasspathUtils
java.lang.Object
org.apache.axis.utils.ClasspathUtils
public class ClasspathUtils
extends java.lang.Object
Utility class for constructing the classpath
static String | expandDirs(String dirPaths) - Expand a directory path or list of directory paths (File.pathSeparator
delimited) into a list of file paths of all the jar files in those
directories.
|
static String | getDefaultClasspath(MessageContext msgContext) - Get the default classpath from various thingies in the message context
|
static boolean | isJar(InputStream is) - Check if this inputstream is a jar/zip
|
expandDirs
public static String expandDirs(String dirPaths)
Expand a directory path or list of directory paths (File.pathSeparator
delimited) into a list of file paths of all the jar files in those
directories.
dirPaths
- The string containing the directory path or list of
directory paths.
- The file paths of the jar files in the directories. This is an
empty string if no files were found, and is terminated by an
additional pathSeparator in all other cases.
getDefaultClasspath
public static String getDefaultClasspath(MessageContext msgContext)
Get the default classpath from various thingies in the message context
isJar
public static boolean isJar(InputStream is)
Check if this inputstream is a jar/zip
- true if inputstream is a jar
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.