public class NullOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
static NullOutputStream |
NULL_OUTPUT_STREAM
A singleton.
|
| Constructor and Description |
|---|
NullOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flushpublic static final NullOutputStream NULL_OUTPUT_STREAM
public void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void write(int b)
write in class OutputStreampublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2020 ZeroTurnaround. All rights reserved.