Package org.eclipse.jgit.util.io
Class DisabledOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.jgit.util.io.DisabledOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public final class DisabledOutputStream extends java.io.OutputStreamAn OutputStream which always throws IllegalStateExeption during write.
-
-
Field Summary
Fields Modifier and Type Field Description static DisabledOutputStreamINSTANCEThe canonical instance which always throws IllegalStateException.
-
Constructor Summary
Constructors Modifier Constructor Description privateDisabledOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(int b)
-
-
-
Field Detail
-
INSTANCE
public static final DisabledOutputStream INSTANCE
The canonical instance which always throws IllegalStateException.
-
-