FileDocCategorySizeDatePackage
URLPrinter.javaAPI DocExample330Sat Sep 09 20:53:06 BST 2000None

URLPrinter

public class URLPrinter extends Object

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


    try {
      URL u = new URL("http://www.oreilly.com/");
      URLConnection uc = u.openConnection();
      System.out.println(uc.getURL());
    }
    catch (IOException e) {
      System.err.println(e);
    }