* Creates the compression configuration.
* @param mode the compression mode (e.g. LZMA or Deflate)
* @param level the compression level 1-9.
*/
public CompressionConfig(CompressionMode mode, int level) {
factory = new CompressionTransformFactory();
factory.setCompressMode(mode);
factory.setCompressionLevel(level);
}