Closeable
, Flushable
, AutoCloseable
public class NullOutputStream extends OutputStream
OutputStream
implementation that works as a sink.
Constructor | Description |
---|---|
NullOutputStream() |
Creates a
NullOutputStream . |
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 © 2018. All rights reserved.