java.net
public interface: Compressor [javadoc |
source]
All Known Implementing Classes:
DeflatingCompressor
This interface models the common methods that every compressor must provide
in order to be used as a "plugin" into the compression layer.
The interface scheme is based on the
Deflater
class, the standard compression engine available in every JVM.
If you want to provide a new compression engine, you have to implement this
interface and pass the class name as the property
compressor:
java -Dcompressor=java.net.DeflatingCompressor ....
Method from java.net.Compressor Summary: |
---|
deflate, deflate, end, finish, finished, getAdler, getLevel, getLevels, getTotalIn, getTotalOut, needsInput, reset, setDictionary, setDictionary, setInput, setInput, setLevel, setStrategy |