FileDocCategorySizeDatePackage
JarTest.javaAPI DocExample645Sun Mar 28 19:10:56 BST 1999None

JarTest

public class JarTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

  
     // File f = new File(args[i]);
      URL u = new URL("http://sunsite.unc.edu/javafaq/javaio.jar");
      URL ju = new URL("jar:" + u + "!/com/macfaq/io/DataFilter.class");
      URLConnection juc = u.openConnection();
      System.out.println(juc.getClass());
      System.out.println(u);
      System.out.println(ju);      System.out.println(ju.getFile());
      System.out.println(juc);
      // System.out.println(juc.getURL());