public class ResourceUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
BUILT_IN_PYTHON_DEPENDENCIES |
Constructor and Description |
---|
ResourceUtil() |
Modifier and Type | Method and Description |
---|---|
static List<File> |
extractBuiltInDependencies(String tmpdir,
String prefix,
boolean skipShellScript) |
static void |
main(String[] args)
This main method is used to create the shell script in a subprocess, see the "TODO" hints in method
extractBuiltInDependencies(java.lang.String, java.lang.String, boolean) . |
public static final String[] BUILT_IN_PYTHON_DEPENDENCIES
public static List<File> extractBuiltInDependencies(String tmpdir, String prefix, boolean skipShellScript) throws IOException, InterruptedException
IOException
InterruptedException
public static void main(String[] args) throws IOException
extractBuiltInDependencies(java.lang.String, java.lang.String, boolean)
.args
- First argument is the directory where shell script will be created. Second argument is the prefix of
the shell script. Third argument is the fileName of the shell script.IOException
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.