Class NullOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- net.sourceforge.plantuml.servlet.utility.NullOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class NullOutputStream extends OutputStream
This output stream ignores everything and writes nothing.
-
-
Constructor Summary
Constructors Constructor Description NullOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(int b)
Writes to nowhere.-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write
-
-
-
-
Method Detail
-
write
public void write(int b) throws IOException
Writes to nowhere.- Specified by:
write
in classOutputStream
- Parameters:
b
- anything- Throws:
IOException
-
-