public class ExecShellCliParser extends Object
| Constructor and Description |
|---|
ExecShellCliParser(String cliString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand() |
String |
getOutput(InputStream inputStream) |
String |
getStderrPath() |
String |
getStdoutPath() |
int |
runCommand() |
void |
writeOutputToFile(String output,
File outputFile) |
public ExecShellCliParser(String cliString)
public String getCommand()
public String getStdoutPath()
public String getStderrPath()
public String getOutput(InputStream inputStream) throws IOException
IOExceptionpublic void writeOutputToFile(String output, File outputFile) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.