Package net.sourceforge.plantuml
Class NullOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- net.sourceforge.plantuml.NullOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class NullOutputStream extends OutputStream
-
-
Constructor Summary
Constructors Constructor Description NullOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] b)
Overridden for performance reasonvoid
write(byte[] b, int off, int len)
Overridden for performance reasonvoid
write(int b)
Writes to nowhere-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
-
-
-
Method Detail
-
write
public void write(int b) throws IOException
Writes to nowhere- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] b) throws IOException
Overridden for performance reason- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException
Overridden for performance reason- Overrides:
write
in classOutputStream
- Throws:
IOException
-
-