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:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-