public class ScriptUtils extends Object
| Constructor and Description |
|---|
ScriptUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFilteredResource(String resource,
File outFile,
Map<String,String> props) |
static int |
execute(String name,
Map<String,String> props) |
static int |
executeProcess(ProcessBuilder builder) |
static String |
getJavaCommandPath() |
static boolean |
isWindows() |
public static int execute(String name, Map<String,String> props) throws IOException
IOExceptionpublic static int executeProcess(ProcessBuilder builder) throws IOException
IOExceptionpublic static void copyFilteredResource(String resource, File outFile, Map<String,String> props) throws IOException
IOExceptionpublic static boolean isWindows()
public static String getJavaCommandPath() throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.