org.apache.env
public abstract class WhichJar extends Object
Version: $Id: WhichJar.java 225939 2001-12-11 17:42:50Z curcuru $
Field Summary | |
---|---|
protected static Properties | jarSizeTable A Properties block of known officially shipped .jar names/sizes. |
static String | SERVICE_NAME SERVICE_NAME. |
Method Summary | |
---|---|
static void | getClasspathInfo(Hashtable hash, String options)
Generic worker method to print out java.class.path,
sun.boot.class.path, and java.ext.dirs.
|
static int | getInfo(Hashtable hash, File jarFile, String options)
Get version information about a specific .jar file.
|
static String | getVersion()
Get our file version info. |
static int | searchClasspaths(Hashtable hash, String jarName, String options)
Search all applicable classpath-like items for the named jar.
|
static int | searchDir(Hashtable hash, String dir, String jarName, String options)
Search a single directory for the named jar.
|
static int | searchDirs(Hashtable hash, String pathName, String jarName, String options)
Search a list of paths for the named jar.
|
static int | searchPath(Hashtable hash, String pathName, String jarName, String options)
Search a classpath path for the named jar.
|
Parameters: hash to put information in options to apply like strict or verbose
Parameters: hash to put information in jarName of the .jar file options to apply like strict or verbose
Returns: status information from WhichConstant
Returns: String of our file version
Parameters: hash to put information in jarName to look for options to apply like strict or verbose
Returns: status information from WhichConstant
Parameters: hash to put information in dir name of directory jarName to look for, case-insensitive options to apply like strict or verbose
Returns: status information from WhichConstant
Parameters: hash to put information in pathName to get from System.getProperty() jarName to look for, case-insensitive options to apply like strict or verbose
Returns: status information from WhichConstant
Parameters: hash to put information in pathName to get from System.getProperty() jarName to look for, case-insensitive options to apply like strict or verbose
Returns: status information from WhichConstant