public final class DevNullTarget extends OutputStream
/dev/null as OutputStream. In other words the DevNullTarget is a
dummy OutputStream that ignores all the data written.| Modifier and Type | Field and Description |
|---|---|
static DevNullTarget |
INSTANCE
The singleton instance.
|
| Modifier | Constructor and Description |
|---|---|
private |
DevNullTarget()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flush, writepublic static final DevNullTarget INSTANCE
public void write(int b)
write in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamCopyright © 2001–2016 mmm-Team. All rights reserved.