Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.net
Class URL

    java.lang.Object
      java.net.URL

    public class URL

extends Object

An RCX version of URL that uses the RCX version of Socket. Socket connects to TCP/IP ports via a proxy called SocketProxy running on the PC. It uses the josx.rcxcomm package. The current version only deals with URLs in the form: :///, e.g. http://locahost/default.htm It assumes a port of 80.

Author:
  Lawrie Griffiths

Constructor Summary
`URL(String url)` Create a URL from the supplied string.

Method Summary
`URLConnection` | `openConnection()` Create and open a URL connection using http get.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait`

Constructor Detail

### URL

    public URL(String url)
        throws MalformedURLException

  Create a URL from the supplied string.

  Parameters:
    `url` - the URL
  Throws:
    `MalformedURLException`

Method Detail

### openConnection

    public URLConnection openConnection()
                                 throws IOException

  Create and open a URL connection using http get.

  Throws:
    `IOxception`
    `IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD