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, wait
writeStdIn
public void started(Process p)
started
in interface ProcessHandler<String,String>
public String handleStdOut(InputStream stdout) throws IOException
handleStdOut
in interface ProcessHandler<String,String>
IOException
public String handleStdErr(InputStream stderr) throws IOException
handleStdErr
in interface ProcessHandler<String,String>
IOException
Copyright © 2018 SPF4J. All rights reserved.