FileDocCategorySizeDatePackage
URLPrinter.javaAPI DocExample332Sun Dec 12 10:55:22 GMT 2004None

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 ex) {
      System.err.println(ex);
    }