Package net.sf.jasperreports.engine.util
Class NullOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- net.sf.jasperreports.engine.util.NullOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class NullOutputStream extends OutputStream
Output stream implementation that discards all the data.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description NullOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] b)
void
write(byte[] b, int off, int len)
void
write(int b)
-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
-
-
-
Method Detail
-
write
public void write(int b)
- Specified by:
write
in classOutputStream
-
write
public void write(byte[] b, int off, int len)
- Overrides:
write
in classOutputStream
-
write
public void write(byte[] b)
- Overrides:
write
in classOutputStream
-
-