Package i2p.susi.util
Class DummyOutputStream
java.lang.Object
java.io.OutputStream
i2p.susi.util.DummyOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Write to nowhere
- Since:
- 0.9.34
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
DummyOutputStream
public DummyOutputStream()
-
-
Method Details
-
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
-