exense-basic-commons/src/main/java/ch/exense/commons/io/FileHelper.java
/**
	 * Create a zip file of the directory denoted by the {@link File} passed as argument 
	 * @param directory the directory to be zipped
	 * @param target the path to the target zip file
	 * @throws IOException
	 */
Create a zip file of the directory denoted by the  File passed as argument
@param directory the directory to be zipped
@param target the path to the target zip file
@throws IOException
Create a zip file of the directory denoted by the File passed as argument @param directory the directory to be zipped @param target the path to the target zip file @throws IOException
public static final void zip(File directory, File target) throws IOException {
		FileOutputStream fileOutputStream = new FileOutputStream(target);
		zip(directory, fileOutputStream);
		fileOutputStream.close();
	}
public static final void zip ( File directory , File target ) throws IOException { FileOutputStream fileOutputStream = new FileOutputStream ( target ) ; zip ( directory , fileOutputStream ) ; fileOutputStream . close ( ) ; }
Create a zip file of the directory denoted by the {@link File} passed as argument
 @param directory the directory to be zipped
 @param target the path to the target zip file
 @throws IOException
Create a zip file of the directory denoted by the { @link File } passed as argument @param directory the directory to be zipped @param target the path to the target zip file @throws IOException