public class CommandPromptUtil extends Object
| Constructor and Description |
|---|
CommandPromptUtil() |
| Modifier and Type | Method and Description |
|---|---|
Process |
execForProcessToExecute(String cmd) |
List<String> |
runCommand(String command) |
String |
runCommandThruProcess(String command) |
String |
runProcessCommandToGetDeviceID(String command) |
public String runCommandThruProcess(String command) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic List<String> runCommand(String command) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic Process execForProcessToExecute(String cmd) throws IOException
IOExceptionpublic String runProcessCommandToGetDeviceID(String command) throws InterruptedException, IOException
InterruptedExceptionIOExceptionCopyright © 2018. All rights reserved.