java.net
Class URL

java.lang.Object
  extended byjava.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.


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