Class LineRedirectOutputStream

java.lang.Object
java.io.OutputStream
org.codehaus.mojo.exec.LineRedirectOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

class LineRedirectOutputStream extends OutputStream
An output stream that captures one line of output at a time, and then redirects that line to some Consumer to act upon as it pleases. This class is not thread safe and expects to have only one active writer consuming it at any given time.
Since:
3.0.0