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, flush
public void write(int pByte) throws IOException
write
in class OutputStream
IOException
public void write(byte[] pBytes) throws IOException
write
in class OutputStream
IOException
public void write(byte[] pBytes, int pOffset, int pLength) throws IOException
write
in class OutputStream
IOException
Copyright © 2017. All rights reserved.