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