Package org.aoju.bus.core.io.sink
Class DeflaterSink
java.lang.Object
org.aoju.bus.core.io.sink.DeflaterSink
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,Sink
这种流体的强冲刷可能导致压缩降低 每一个
调用
flush()立即压缩所有当前缓存的数据- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DeflaterSink
-
-
Method Details
-
write
- Specified by:
writein interfaceSink- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin interfaceSink- Throws:
IOException
-
close
public void close() -
timeout
-
toString
-