Closeable
, Flushable
, AutoCloseable
public final class DisabledOutputStream extends OutputStream
Modifier and Type | Field | Description |
---|---|---|
static DisabledOutputStream |
INSTANCE |
The canonical instance which always throws IllegalStateException.
|
Modifier and Type | Method | Description |
---|---|---|
void |
write(int b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flush, write, write
public static final DisabledOutputStream INSTANCE
public void write(int b) throws IOException
write
in class OutputStream
IOException
Copyright © 2018. All rights reserved.