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

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

package org.fugerit.java.tool.compress;

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

public class CompressUtils {

	public static void compress7Zipfile( File sourceDir, File  outputFile) throws IOException, FileNotFoundException {
		compressZipfile(sourceDir, outputFile);
	}
	
	
	public static void compressZipfile( File sourceDir, File  outputFile) throws IOException, FileNotFoundException {
		try {
			ArchiveDicFacadeTool.getInstanceExt().compressByExtension(sourceDir, outputFile);	
		} catch (Exception e) {
			throw new IOException( e );
		}
	}
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy