public class NullOutputStream
extends java.io.OutputStream
OutputStream that simply drops what it gets.| Modifier and Type | Field and Description |
|---|---|
static NullOutputStream |
INSTANCE |
public static final NullOutputStream INSTANCE
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException