Closeable
, Flushable
, AutoCloseable
public class NullOutputStream extends OutputStream
Modifier and Type | Field | Description |
---|---|---|
static NullOutputStream |
INSTANCE |
The canonical instance.
|
Modifier and Type | Method | Description |
---|---|---|
void |
write(byte[] buf) |
|
void |
write(byte[] buf,
int pos,
int cnt) |
|
void |
write(int b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flush
public static final NullOutputStream INSTANCE
public void write(int b)
write
in class OutputStream
public void write(byte[] buf)
write
in class OutputStream
public void write(byte[] buf, int pos, int cnt)
write
in class OutputStream
Copyright © 2018. All rights reserved.