Alphabetical Index

D F G I J M N O P R S T U W

D

DEFAULT_PROJECTS - static field in class org.apache.env.Which
Default set of projects to use if none provided.
DEFAULT_WHICHCLASS - static field in class org.apache.env.WhichFactory
org.apache.env.Which, prepended to unknown projectnames.
doMain(String[]) - method in class org.apache.env.Which
Instance worker method to handle main().

F

findClass(String,String) - static method in class org.apache.env.WhichClass
Worker method to load a class.
findClassLoader(String) - static method in class org.apache.env.WhichClass
Worker method to figure out which ClassLoader to use.

G

getClasspathInfo(Hashtable,String) - static method in class org.apache.env.WhichJar
Generic worker method to print out java.class.path, sun.boot.class.path, and java.ext.dirs.
getDOMInfo(Hashtable,String) - method in class org.apache.env.WhichXmlCommons
Gets DOM version info and looks for dom.jar.
getGeneralInfo(Hashtable,String) - static method in class org.apache.env.Which
Grab a couple of generally useful items, like classpath, java version, version of this file, etc..
getInfo(Hashtable,File,String) - static method in class org.apache.env.WhichJar
Get version information about a specific .jar file.
getInfo(Hashtable,String) - method in class org.apache.env.WhichAnt
Calls getAntVersion and looks for ant.jar.
getInfo(Hashtable,String) - method in class org.apache.env.WhichCrimson
Detects if Parser2 is present and looks for crimson.jar.
getInfo(Hashtable,String) - method in class org.apache.env.WhichProject
Get basic or extended info about a project.
getInfo(Hashtable,String) - method in class org.apache.env.WhichSaxon
Calls Version.getVersion and looks for saxon.jar.
getInfo(Hashtable,String) - method in class org.apache.env.WhichXalan
Finds version information from Xalan-J 1.x, 2.x, 2.2+, and looks for xalan.jar and xml-apis.jar.
getInfo(Hashtable,String) - method in class org.apache.env.WhichXerces
Gets version information for Xerces-J 1.x and 2.x, and looks for xerces.jar and xmlParserAPIs.jar.
getInfo(Hashtable,String) - method in class org.apache.env.WhichXmlCommons
Gets information on external standards code in xml-commons project; finds the xml-commons version as well as the approximate versions of JAXP, DOM and SAX.
getJAXPInfo(Hashtable,String) - method in class org.apache.env.WhichXmlCommons
Gets JAXP version info and looks for jaxp.jar.
getProjectsInfo(Hashtable,String,String) - static method in class org.apache.env.Which
Get information from various project's WhichProject impls.
getSAXInfo(Hashtable,String) - method in class org.apache.env.WhichXmlCommons
Gets SAX version info and looks for sax.jar.
getVersion() - static method in class org.apache.env.Which
Get simple version info about org.apache.env.Which and related classes.
getVersion() - static method in class org.apache.env.WhichJar
Get our file version info.
getXmlCommonsInfo(Hashtable,String) - method in class org.apache.env.WhichXmlCommons
Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.

I

installedWhichers - static field in class org.apache.env.WhichFactory
List of 'installed' WhichProject implementations.
isStrict(String) - static method in class org.apache.env.WhichConstant
Check if options include strict.
isVerbose(String) - static method in class org.apache.env.WhichConstant
Check if options include verbose.
ITEM_DESC - static field in class org.apache.env.WhichConstant
Descriptive strings for ITEM_ constants; keep in sync.
ITEM_ERROR - static field in class org.apache.env.WhichConstant
Item is Definite problem.
ITEM_NOTFOUND - static field in class org.apache.env.WhichConstant
Item is Item was not found, but might be ok.
ITEM_OK - static field in class org.apache.env.WhichConstant
Item is Version appears to be OK.
ITEM_SHIPPED - static field in class org.apache.env.WhichConstant
Item is Provably a shipped version.
ITEM_UNKNOWN - static field in class org.apache.env.WhichConstant
Item is Unknown, or don't care.
ITEM_WARNING - static field in class org.apache.env.WhichConstant
Item is Possible problem.

J

jarSizeTable - static field in class org.apache.env.WhichJar
A Properties block of known officially shipped .jar names/sizes.

M

main(String[]) - static method in class org.apache.env.Which
Command line runnability.

N

newWhichProject(String,String) - static method in class org.apache.env.WhichFactory
Factory method to get a WhichProject implementation for the name.

O

OPTION_STRICT - static field in class org.apache.env.WhichConstant
Strict option asks Whichers to return an error if required classes, etc.
OPTION_VERBOSE - static field in class org.apache.env.WhichConstant
Verbose option asks Whichers to return extra info.
optionsBuf - field in class org.apache.env.Which
optionsBuf.
org.apache.env - package
Which is a simple utility that inspects your JVM's environment and reports simple info about versions of classes found.
outWriter - field in class org.apache.env.Which
outWriter.

P

parseArgs(String[]) - method in class org.apache.env.Which
Parse commandline args, return false if help asked for.
projectsBuf - field in class org.apache.env.Which
projectsBuf.

R

reportHashtable(Hashtable,String,PrintWriter) - method in class org.apache.env.Which
Print information from a hashtable into the PrintWriter.
Print information from which() into the PrintWriter.

S

searchClasspaths(Hashtable,String,String) - static method in class org.apache.env.WhichJar
Search all applicable classpath-like items for the named jar.
searchDir(Hashtable,String,String,String) - static method in class org.apache.env.WhichJar
Search a single directory for the named jar.
searchDirs(Hashtable,String,String,String) - static method in class org.apache.env.WhichJar
Search a list of paths for the named jar.
searchPath(Hashtable,String,String,String) - static method in class org.apache.env.WhichJar
Search a classpath path for the named jar.
SEPARATOR - static field in class org.apache.env.Which
Generic ';' separator for various items.
SERVICE_NAME - static field in class org.apache.env.WhichAnt
Our project name.
SERVICE_NAME - static field in class org.apache.env.WhichCrimson
Our project name.
SERVICE_NAME - static field in class org.apache.env.WhichFactory
'WhichFactory'.
SERVICE_NAME - static field in class org.apache.env.WhichJar
SERVICE_NAME.
SERVICE_NAME - static field in class org.apache.env.WhichSaxon
Our project name.
SERVICE_NAME - static field in class org.apache.env.WhichXalan
Our project name.
SERVICE_NAME - static field in class org.apache.env.WhichXerces
Our project name.
SERVICE_NAME - static field in class org.apache.env.WhichXmlCommons
Our project name.

T

TAG_ERROR - static field in class org.apache.env.WhichConstant
Tag denoting a generic error occoured.
TAG_HASHINFO - static field in class org.apache.env.WhichConstant
Tag denoting a subhash of information is here.
TAG_PATH - static field in class org.apache.env.WhichConstant
Tag denoting the path to a file (.jar, etc.).
TAG_STATUS - static field in class org.apache.env.WhichConstant
Tag denoting the status of a WhichProject hash.
TAG_VERSION - static field in class org.apache.env.WhichConstant
Tag denoting version info follows.

U

usage() - method in class org.apache.env.Which
Return our usage statement.

W

Which - class org.apache.env.Which
General environment checking and version finding service; main external entrypoints and command line interface.
which(Hashtable,String,String) - static method in class org.apache.env.Which
Which - get all info.
WhichAnt - class org.apache.env.WhichAnt
Get Version information about jakarta-ant.
WhichClass - class org.apache.env.WhichClass
Class finding service.
WhichConstant - class org.apache.env.WhichConstant
Simple static constants used throughout org.apache.env package.
WhichCrimson - class org.apache.env.WhichCrimson
Get Version information about xml-crimson.
WhichFactory - class org.apache.env.WhichFactory
Simple factory class for WhichProject implementations.
WhichJar - class org.apache.env.WhichJar
Static worker methods to find version info about jars and classpaths.
WhichProject - interface org.apache.env.WhichProject
Simple interface for getting version info about a project.
WhichSaxon - class org.apache.env.WhichSaxon
Get Version information about Saxon from http://saxon.sourceforge.net/.
WhichXalan - class org.apache.env.WhichXalan
Get Version information about xml-xalan.
WhichXerces - class org.apache.env.WhichXerces
Get Version information about xml-xerces.
WhichXmlCommons - class org.apache.env.WhichXmlCommons
Get Version information about xml-commons code.

Copyright B) 2001 Apache Software Foundation. All Rights Reserved.