Package hudson.console
Class LineTransformationOutputStream.Delegating
java.lang.Object
java.io.OutputStream
hudson.console.LineTransformationOutputStream
hudson.console.LineTransformationOutputStream.Delegating
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
MavenConsoleAnnotator,PlainTextConsoleOutputStream
- Enclosing class:
LineTransformationOutputStream
public abstract static class LineTransformationOutputStream.Delegating
extends LineTransformationOutputStream
Convenience subclass for cases where you wish to process lines being sent to an underlying stream.
LineTransformationOutputStream.eol(byte[], int) will typically OutputStream.write(byte[], int, int) to out.
Flushing or closing the decorated stream will behave properly.- Since:
- 2.173
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.console.LineTransformationOutputStream
LineTransformationOutputStream.Delegating -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.console.LineTransformationOutputStream
eol, forceEol, trimEOL, write, writeMethods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
out
-
-
Constructor Details
-
Delegating
-
-
Method Details
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classLineTransformationOutputStream- Throws:
IOException
-