Package i2p.susi.util
Class DummyOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- i2p.susi.util.DummyOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class DummyOutputStream extends OutputStream
Write to nowhere- Since:
- 0.9.34
-
-
Constructor Summary
Constructors Constructor Description DummyOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
write(byte[] src)
void
write(byte[] src, int off, int len)
void
write(int val)
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Method Detail
-
write
public void write(int val)
- Specified by:
write
in classOutputStream
-
write
public void write(byte[] src)
- Overrides:
write
in classOutputStream
-
write
public void write(byte[] src, int off, int len)
- Overrides:
write
in classOutputStream
-
flush
public void flush()
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-
-