Here you can find the source of closeEntry(ZipOutputStream... outputStreams)
public static void closeEntry(ZipOutputStream... outputStreams)
//package com.java2s; //License from project: Apache License import java.io.IOException; import java.util.zip.ZipOutputStream; public class Main { /**//w w w . j a v a 2s .co m * Equivalent to {@link ZipOutputStream#closeEntry()} but without checked * exception. */ public static void closeEntry(ZipOutputStream... outputStreams) { for (final ZipOutputStream outputStream : outputStreams) { try { outputStream.closeEntry(); } catch (final IOException e) { throw new RuntimeException(e); } } } }