|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.fisheye.plugins.scm.utils.process.BaseOutputHandler com.atlassian.fisheye.plugins.scm.utils.process.StringOutputHandler
public class StringOutputHandler
An Output Handler which captures the output stream to a string
Constructor Summary | |
---|---|
StringOutputHandler()
|
|
StringOutputHandler(java.lang.String encoding)
|
Method Summary | |
---|---|
void |
complete()
Called when the process completes. |
java.lang.String |
getOutput()
|
void |
process(java.io.InputStream output)
Process an output stream generated by the external process (either stdout or stderr) |
Methods inherited from class com.atlassian.fisheye.plugins.scm.utils.process.BaseOutputHandler |
---|
cancelProcess, resetWatchdog, setWatchdog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringOutputHandler()
public StringOutputHandler(java.lang.String encoding)
Method Detail |
---|
public void process(java.io.InputStream output) throws ProcessException
OutputHandler
output
- the external process' output stream (available as an input to this class)
ProcessException
- if there is a problem processing the outputpublic java.lang.String getOutput()
public void complete()
OutputHandler
complete
in interface OutputHandler
complete
in class BaseOutputHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |