org.dcm4chee.imagetest
Class NullOutputStream
java.lang.Object
java.io.OutputStream
org.dcm4chee.imagetest.NullOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class NullOutputStream
- extends OutputStream
OutputStream implementation that discards all written data.
Method Summary |
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullOutputStream
public NullOutputStream()
write
public void write(int b)
-
- Specified by:
write
in class OutputStream
write
public void write(byte[] b,
int off,
int len)
-
- Overrides:
write
in class OutputStream
write
public void write(byte[] b)
-
- Overrides:
write
in class OutputStream
Copyright © 2011. All Rights Reserved.