All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fugerit.java.tool.compress.CompressUtils Maven / Gradle / Ivy

There is a newer version: 8.6.5
Show newest version
package org.fugerit.java.tool.compress;

import java.io.File;
import java.io.IOException;

import org.fugerit.java.core.io.helper.HelperIOException;

public class CompressUtils {

	private CompressUtils() {}
	
	public static void compress7Zipfile( File sourceDir, File  outputFile) throws IOException {
		compressZipfile(sourceDir, outputFile);
	}
	
	
	public static void compressZipfile( File sourceDir, File  outputFile) throws IOException {
		HelperIOException.apply( () -> ArchiveDicFacadeTool.getInstanceExt().compressByExtension(sourceDir, outputFile) );
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy