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
Constructors -
Method Summary
-
Constructor Details
-
CloseShieldOutputStream
-
-
Method Details
-
close
public void close()Does nothing.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-