org.apache.tools.ant.util
public class LineOrientedOutputStreamRedirector extends LineOrientedOutputStream
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.
Since: Ant 1.8.3
Constructor Summary | |
---|---|
LineOrientedOutputStreamRedirector(OutputStream stream) |
Method Summary | |
---|---|
void | close() |
void | flush() |
protected void | processLine(byte[] b) |
protected void | processLine(String line) |