Package org.jboss.logmanager.handlers
Class UncloseableOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.logmanager.handlers.UncloseableOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
An output stream wrapper which drops calls to the
close() method.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
UncloseableOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-