public final class NullOutputStream extends OutputStream
OutputStream that simply discards written bytes.| Constructor and Description |
|---|
NullOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b,
int off,
int len)
Discards the specified byte array.
|
void |
write(int b)
Discards the specified int.
|
close, flush, writepublic void write(int b)
write in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStreamCopyright © 2008-2016. All Rights Reserved.