Class CloseShieldOutputStream
java.lang.Object
java.io.OutputStream
org.apache.logging.log4j.core.util.CloseShieldOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
A delegating OutputStream that does not close its delegate.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CloseShieldOutputStream
-
-
Method Details
-
close
public void close()Does nothing.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-