Package com.adobe.internal.io
Class NullOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.adobe.internal.io.NullOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class NullOutputStream extends OutputStream
AnOutputStreamthat eats all output.
-
-
Constructor Summary
Constructors Constructor Description NullOutputStream()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(byte[] b, int off, int len)voidwrite(int b)-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
-
-
-
Method Detail
-
write
public void write(int b) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
-