public class InvokeUtils extends Object
| Constructor and Description |
|---|
InvokeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configureLogging(int verbosity,
boolean debug)
Sets up the logging system.
|
static String |
getJavaVersion()
Returns the JVM version, without throwing any exceptions.
|
static String |
getJavaVM()
Returns the JVM name and version string, without throwing any exceptions.
|
static void |
main(String[] args)
Invokes the main method of a named class with logging configuration
specified on the command line.
|
static Parameter<?>[] |
sortParameters(Parameter<?>[] params)
Sorts a list of Parameter objects.
|
static void |
summariseError(Throwable error,
PrintStream out)
Writes a summary of a (possibly nested) exception to a given
output stream.
|
public static void configureLogging(int verbosity,
boolean debug)
verbosity - number of levels greater than default to setdebug - whether debugging mode is onpublic static String getJavaVersion()
public static String getJavaVM()
public static void summariseError(Throwable error, PrintStream out)
error - exceptionout - destination streampublic static Parameter<?>[] sortParameters(Parameter<?>[] params)
params - input listCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.