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.File; import java.io.IOException; import java.util.Enumeration; import java.util.zip.ZipException; import java.util.zip.ZipFile; public class Main { public static Enumeration<?> getEntriesEnumeration(File zipFile) throws ZipException, IOException { ZipFile zf = new ZipFile(zipFile); return zf.entries(); }//from w w w . j ava 2 s . c om }