
Read the Entries from a JAR/ZIP Archives with the URL Class
This tip shows you how to display the entries from a JAR/ZIP archive using the java.net.URL class. The key in this example is the URL construction. import java.net.*;import java.io.*;import java.awt.*;import java.util.*;import java.util.jar.*;class read extends Frame{ URL url=null; JarURLConnection URLcon=null; JarFile jar=null; TextArea TA=new TextArea(15,35); public read(String titlu) { super(titlu); }