Java tutorial
//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(); } }