Class LineOrientedOutputStreamRedirector

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class LineOrientedOutputStreamRedirector
    extends LineOrientedOutputStream
    Output stream which buffer and redirect a stream line by line.

    If the source stream doesn't end with a end of line, one will be added. This is particularly useful in combination with the OutputStreamFunneler so each funneled stream get its line.

    COPIED FROM ANT 1.9.5: org.apache.tools.ant.util.LineOrientedOutputStreamRedirector