Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.io.File;

import java.io.IOException;

import java.util.Enumeration;

import java.util.zip.ZipFile;

public class Main {

    public static Enumeration<?> getEntriesEnumeration(File zipFile) throws IOException {
        ZipFile zf = new ZipFile(zipFile);
        Enumeration<?> entry = zf.entries();
        zf.close();
        return entry;
    }
}