public class CommandLineExecutor extends Object implements Closeable
| Constructor and Description |
|---|
CommandLineExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
executeCommand(String command) |
String |
readOutputLine() |
public void executeCommand(String command) throws IOException
IOExceptionpublic String readOutputLine() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015. All rights reserved.