public final class StdOutToStringProcessHandler extends Object implements ProcessHandler<String,String>
| Constructor and Description |
|---|
StdOutToStringProcessHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
handleStdErr(InputStream stderr) |
String |
handleStdOut(InputStream stdout) |
void |
started(Process p) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwriteStdInpublic void started(Process p)
started in interface ProcessHandler<String,String>public String handleStdOut(InputStream stdout) throws IOException
handleStdOut in interface ProcessHandler<String,String>IOExceptionpublic String handleStdErr(InputStream stderr) throws IOException
handleStdErr in interface ProcessHandler<String,String>IOExceptionCopyright © 2018 SPF4J. All rights reserved.