
public final class NullOutputStream extends OutputStream
| Constructor and Description |
|---|
NullOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
static NullOutputStream |
getInstance()
Get the singleton instance.
|
void |
write(byte[] b)
Ignore the written bytes.
|
void |
write(byte[] b,
int off,
int len)
Ignore the written bytes.
|
void |
write(int b)
Ignore the written byte.
|
close, flushpublic static NullOutputStream getInstance()
public void write(int b)
write in class OutputStreamb - ignoredpublic void write(byte[] b)
write in class OutputStreamb - ignoredpublic void write(byte[] b,
int off,
int len)
write in class OutputStreamb - ignoredoff - ignoredlen - ignoredCopyright © 2013 JBoss, a division of Red Hat, Inc.