org.jSyncManager.Tools
Class TestIfClassExists
java.lang.Object
org.jSyncManager.Tools.TestIfClassExists
- public final class TestIfClassExists
- extends java.lang.Object
An executable class to test if the input class exists.
This is a helper application for potential jSyncManager automated install scripts,
which can be used to determine if selected 3rd party APIs are accessible on the system,
so scripts can attempt to determine which such libraries need to be installed.
This executable class should be called with a single parameter -- the fully-qualified classname
of the class to search for. If the class is present, main will return 0, will return 1 if the class is not found,
and will return 2 if no classname is specified.
- Version:
- $Revision: 3.2 $
- Author:
- Brad BARCLAY <bbarclay@jsyncmanager.org>
Last modified by: $Author: yaztromo $ on $Date: 2004/07/14 04:31:15 $.
|
Method Summary |
static void |
main(java.lang.String[] args)
Runs the TestIfClassExists utility. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)
- Runs the TestIfClassExists utility.
This class will exit with an error level of 0 if the specified class exists,
if not found it will return 1, and if no class is specified will return 2.
- Parameters:
args - the input arguments. This method expects a single fully-qualified classname as its argument.
Copyright (c) 1999 - 2004 Brad BARCLAY and others. All Rights Reserved.