public class NullOutputStream extends OutputStream
OutputStream implementation that works as a sink.
| Constructor and Description |
|---|
NullOutputStream()
Creates a
NullOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] pBytes)
This implementation does nothing.
|
void |
write(byte[] pBytes,
int pOffset,
int pLength)
This implementation does nothing.
|
void |
write(int pByte)
This implementation does nothing.
|
close, flushpublic void write(int pByte)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] pBytes)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] pBytes,
int pOffset,
int pLength)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2017. All Rights Reserved.