public class SystemUtils
extends java.lang.Object
Constructor and Description |
---|
SystemUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
buildJar(java.lang.String directory,
java.lang.String mainClass,
java.lang.String jarFile) |
static java.lang.String |
executeCommandLine(java.lang.String commandLine) |
static java.lang.String |
executeCommandLine(java.lang.String commandLine,
long waitTimeMillies)
Execute a command line and look for error messages.
|
public static java.lang.String executeCommandLine(java.lang.String commandLine)
public static java.lang.String executeCommandLine(java.lang.String commandLine, long waitTimeMillies)
commandLine
- the command line to executewaitTimeMillies
- the amount of milliseconds to wait for error messagespublic static boolean buildJar(java.lang.String directory, java.lang.String mainClass, java.lang.String jarFile)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de