Package org.glassfish.common.util.io
Class EmptyOutputStream
java.lang.Object
java.io.OutputStream
org.glassfish.common.util.io.EmptyOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Ignores all input, so is always empty.
- Author:
- David Matejcek
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
Constructor Details
-
EmptyOutputStream
public EmptyOutputStream()
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-