Class FlushShieldFilterOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.compress.utils.FlushShieldFilterOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Re-implements
FilterOutputStream.flush() to do nothing.-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
ConstructorsConstructorDescriptionCreates aFlushShieldFilterOutputStreamfilter built on top of the specified underlying output stream. -
Method Summary
Methods inherited from class java.io.FilterOutputStream
close, write, write, write
-
Constructor Details
-
FlushShieldFilterOutputStream
Creates aFlushShieldFilterOutputStreamfilter built on top of the specified underlying output stream.- Parameters:
out- the underlying output stream to be assigned to the fieldthis.outfor later use, ornullif this instance is to be created without an underlying stream.
-
-
Method Details
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-