public class OverwritePayload extends java.lang.Object implements CommandOutputCapture
CommandOutputCapture
that overwrites the existing message with the output.Constructor and Description |
---|
OverwritePayload() |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
startCapture(AdaptrisMessage msg)
Capture the output from the process.
|
public java.io.OutputStream startCapture(AdaptrisMessage msg) throws java.io.IOException
CommandOutputCapture
startCapture
in interface CommandOutputCapture
msg
- the adaptris message.java.io.IOException
- if an outputstream couldn't be created.