Closeable, Flushable, AutoCloseablepublic 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, waitclose, flush, write, writepublic static final DisabledOutputStream INSTANCE
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2018. All rights reserved.