Class LineLevelAppenderStream

java.lang.Object
java.io.OutputStream
org.apache.sshd.common.util.io.output.LineOutputStream
org.apache.sshd.common.util.io.output.LineLevelAppenderStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LineLevelAppenderStream extends LineOutputStream

Accumulates all written data into a work buffer and calls the actual writing method only when LF detected. Note: it strips CR if found before the LF