org.freehep.util.io
Class DummyOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.freehep.util.io.DummyOutputStream
-
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
public class DummyOutputStream extends java.io.OutputStreamEquivalent to writing to /dev/nul
-
-
Constructor Summary
Constructors Constructor and Description DummyOutputStream()Creates a Dummy output steram.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int b)
-
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] b) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
-
DMelt 3.0 © DataMelt by jWork.ORG