public class ExternalProcess extends Object implements Closeable
| Constructor and Description |
|---|
ExternalProcess(long timeout,
String... args) |
public ExternalProcess(long timeout,
String... args)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void write(String text) throws IOException
IOExceptionpublic String read(Pattern resultPattern, Pattern... errorPatterns) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.