Package org.apache.flink.runtime.util
Class NonClosingOutputStreamDecorator
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.flink.runtime.util.ForwardingOutputStream
-
- org.apache.flink.runtime.util.NonClosingOutputStreamDecorator
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
@Internal public class NonClosingOutputStreamDecorator extends ForwardingOutputStream
Decorator for input streams that ignores calls toOutputStream.close().
-
-
Constructor Summary
Constructors Constructor Description NonClosingOutputStreamDecorator(OutputStream delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()-
Methods inherited from class org.apache.flink.runtime.util.ForwardingOutputStream
flush, write, write, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
NonClosingOutputStreamDecorator
public NonClosingOutputStreamDecorator(OutputStream delegate)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classForwardingOutputStream- Throws:
IOException
-
-