in scala.mobile
class Location

`class` Location
  `extends` java.lang.Object
  `with` scala.ScalaObject

  The class `Location` provides a `create` method to instantiate objects from a network location by specifying the URL address of the jar/class file.

  An update of the jar/class file should not break your code as far as the used class names and method signatures are the same.

  Example:

          val url = new URL("http://scala.epfl.ch/classes/examples.jar");
          val obj = new Location(url) create "examples.sort";

See Also:
  Code
Author:
  Stephane Micheloud
Version:
  1.0, 04/05/2004

Direct Known Subclasses:
  Location

Constructor Summary
| `def` this (url: java.net.URL)

Def Summary
| `def` create (className: java.lang.String) : scala.mobile.Code Return the code description for the string `className` at this location.

Constructor Detail

`def` this (url: java.net.URL)

Def Detail

`def` create (className: java.lang.String): scala.mobile.Code

  Return the code description for the string `className` at this location.

Parameters:
  `classname -` the name of the class
Returns:
  the code description corresponding to `className`.