in scala/mobile
class Location

class Location(url: java.net.URL)
extends Object
with ScalaObject
Implementing classes or objects:
object Location

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";
Author:
Stephane Micheloud
Version:
1.0, 04/05/2004
See Also:
Code

Method Summary
  def create(className: String): Code
     Return the code description for the string className at this location.

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/ScalaObject-class
getScalaType

Method Detail

create

  def create(className: String): Code
Return the code description for the string className at this location.
Parameters:
the - name of the class
Returns:
the code description corresponding to className