NullOutputStreampublic class NullOutputStream extends OutputStream This OutputStream writes all data to the famous /dev/null.
This output stream has no destination (file/socket etc.) and all
bytes written to it are ignored and lost. |
Fields Summary |
---|
public static final NullOutputStream | NULL_OUTPUT_STREAMA singleton. |
Methods Summary |
---|
public void | write(byte[] b, int off, int len)Does nothing - output to /dev/null .
//to /dev/null
| public void | write(int b)Does nothing - output to /dev/null .
//to /dev/null
| public void | write(byte[] b)Does nothing - output to /dev/null .
//to /dev/null
|
|