Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.File;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;

public class Main {
    public static void main(String[] argv) throws Exception {
        JarFile jarfile = new JarFile(new File("filename.jar"), true, JarFile.OPEN_READ);

        JarEntry entry = jarfile.getJarEntry("fileName");

    }
}