java.lang.Object
org.hsqldb.util.MainInvoker
Invokes the static main(String[]) method from each class specified.
This class will System.exit() if any invocation fails.
- Since:
- HSQLDB 1.8.0
- Author:
- Blaine Simpson (blaine dot simpson at admc dot com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LS
-
-
Constructor Details
-
MainInvoker
public MainInvoker()
-
-
Method Details
-
main
Invokes the static main(String[]) method from each specified class. This method will System.exit() if any invocation fails. Note that multiple class invocations are delimited by empty-string parameters. How the user supplies these empty strings is determined entirely by the caller's environment. From Windows this can generally be accomplished with double-quotes like "". From all popular UNIX shells, this can be accomplished with single or double-quotes: '' or "".- Parameters:
sa
- Run java org.hsqldb.util.MainInvoker --help for syntax help
-
invoke
public static void invoke(String className, String[] args) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException Invokes the static main(String[]) method from each specified class.- Parameters:
className
- Stringargs
- String[]- Throws:
ClassNotFoundException
- if not foundNoSuchMethodException
- if not foundIllegalAccessException
- on no accessInvocationTargetException
- on invocation failure
-