scala.mobile

class Location

[source: scala/mobile/Location.scala]

class Location(url : java.net.URL)
extends AnyRef
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-lang.org/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

Method Summary
def create (className : java.lang.String) : Code
Return the code description for the string className at this location.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def create(className : java.lang.String) : 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.