Package hudson.util
Class NullStream
- java.lang.Object
-
- java.io.OutputStream
-
- hudson.util.NullStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public final class NullStream extends OutputStream
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description NullStream()
-
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(byte[] b)
- Overrides:
write
in classOutputStream
-
write
public void write(byte[] b, int off, int len)
- Overrides:
write
in classOutputStream
-
write
public void write(int b)
- Specified by:
write
in classOutputStream
-
-