Here you can find the source of getEntriesEnumeration(File zipFile)
public static Enumeration<?> getEntriesEnumeration(File zipFile) throws ZipException, IOException
//package com.java2s; import java.io.*; import java.util.Enumeration; import java.util.zip.ZipFile; import java.util.zip.ZipException; public class Main { public static Enumeration<?> getEntriesEnumeration(File zipFile) throws ZipException, IOException { ZipFile zf = new ZipFile(zipFile); return zf.entries(); }/*from ww w . ja v a 2s . c o m*/ }