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

D

DEFAULT_PROJECTS - Static variable in class org.apache.env.Which
Default set of projects to use if none provided.
DEFAULT_WHICHCLASS - Static variable 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.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.
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.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.WhichSaxon
Calls Version.getVersion and looks for saxon.jar.
getInfo(Hashtable, String) - Method in interface org.apache.env.WhichProject
Get basic or extended info about a project.
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.WhichAnt
Calls getAntVersion and looks for ant.jar.
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.WhichJar
Get our file version info.
getVersion() - Static method in class org.apache.env.Which
Get simple version info about org.apache.env.Which and related classes.
getXmlCommonsInfo(Hashtable, String) - Method in class org.apache.env.WhichXmlCommons
Calls xmlcommons.Version.getVersion and looks for xml-apis.jar.

I

installedWhichers - Static variable 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 variable in class org.apache.env.WhichConstant
Descriptive strings for ITEM_ constants; keep in sync.
ITEM_ERROR - Static variable in class org.apache.env.WhichConstant
Item is Definite problem.
ITEM_NOTFOUND - Static variable in class org.apache.env.WhichConstant
Item is Item was not found, but might be ok.
ITEM_OK - Static variable in class org.apache.env.WhichConstant
Item is Version appears to be OK.
ITEM_SHIPPED - Static variable in class org.apache.env.WhichConstant
Item is Provably a shipped version.
ITEM_UNKNOWN - Static variable in class org.apache.env.WhichConstant
Item is Unknown, or don't care.
ITEM_WARNING - Static variable in class org.apache.env.WhichConstant
Item is Possible problem.

J

jarSizeTable - Static variable 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 variable in class org.apache.env.WhichConstant
Strict option asks Whichers to return an error if required classes, etc.
OPTION_VERBOSE - Static variable in class org.apache.env.WhichConstant
Verbose option asks Whichers to return extra info.
optionsBuf - Variable in class org.apache.env.Which
optionsBuf.
org.apache.env - package org.apache.env
Which is a simple utility that inspects your JVM's environment and reports simple info about versions of classes found.
outWriter - Variable 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 - Variable 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.
reportProjectsInfo(Hashtable, String, int, PrintWriter) - Method in class org.apache.env.Which
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 variable in class org.apache.env.Which
Generic ';' separator for various items.
SERVICE_NAME - Static variable in class org.apache.env.WhichXmlCommons
Our project name.
SERVICE_NAME - Static variable in class org.apache.env.WhichXerces
Our project name.
SERVICE_NAME - Static variable in class org.apache.env.WhichXalan
Our project name.
SERVICE_NAME - Static variable in class org.apache.env.WhichSaxon
Our project name.
SERVICE_NAME - Static variable in class org.apache.env.WhichJar
SERVICE_NAME.
SERVICE_NAME - Static variable in class org.apache.env.WhichFactory
'WhichFactory'.
SERVICE_NAME - Static variable in class org.apache.env.WhichCrimson
Our project name.
SERVICE_NAME - Static variable in class org.apache.env.WhichAnt
Our project name.

T

TAG_ERROR - Static variable in class org.apache.env.WhichConstant
Tag denoting a generic error occoured.
TAG_HASHINFO - Static variable in class org.apache.env.WhichConstant
Tag denoting a subhash of information is here.
TAG_PATH - Static variable in class org.apache.env.WhichConstant
Tag denoting the path to a file (.jar, etc.).
TAG_STATUS - Static variable in class org.apache.env.WhichConstant
Tag denoting the status of a WhichProject hash.
TAG_VERSION - Static variable 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() - Constructor for class org.apache.env.Which
 
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.
WhichAnt() - Constructor for class org.apache.env.WhichAnt
 
WhichClass - class org.apache.env.WhichClass.
Class finding service.
WhichClass() - Constructor for class org.apache.env.WhichClass
 
WhichConstant - class org.apache.env.WhichConstant.
Simple static constants used throughout org.apache.env package.
WhichConstant() - Constructor for class org.apache.env.WhichConstant
 
WhichCrimson - class org.apache.env.WhichCrimson.
Get Version information about xml-crimson.
WhichCrimson() - Constructor for class org.apache.env.WhichCrimson
 
WhichFactory - class org.apache.env.WhichFactory.
Simple factory class for WhichProject implementations.
WhichFactory() - Constructor for class org.apache.env.WhichFactory
 
WhichJar - class org.apache.env.WhichJar.
Static worker methods to find version info about jars and classpaths.
WhichJar() - Constructor for class org.apache.env.WhichJar
 
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/.
WhichSaxon() - Constructor for class org.apache.env.WhichSaxon
 
WhichXalan - class org.apache.env.WhichXalan.
Get Version information about xml-xalan.
WhichXalan() - Constructor for class org.apache.env.WhichXalan
 
WhichXerces - class org.apache.env.WhichXerces.
Get Version information about xml-xerces.
WhichXerces() - Constructor for class org.apache.env.WhichXerces
 
WhichXmlCommons - class org.apache.env.WhichXmlCommons.
Get Version information about xml-commons code.
WhichXmlCommons() - Constructor for class org.apache.env.WhichXmlCommons
 

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

Copyright © 2001 Apache Software Foundation. All Rights Reserved.