public class ExternalProcess
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
ExternalProcess(long timeout,
java.lang.String... args) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
read(java.util.regex.Pattern resultPattern,
java.util.regex.Pattern... errorPatterns) |
void |
write(java.lang.String text) |
public ExternalProcess(long timeout,
java.lang.String... args)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void write(java.lang.String text)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String read(java.util.regex.Pattern resultPattern,
java.util.regex.Pattern... errorPatterns)
throws java.io.IOException
java.io.IOExceptionCopyright © 2015. All Rights Reserved.