|
Scala 2.2.0.9025
|
class
Location
extends
java.lang.Object with
scala.ScalaObjectLocation
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";
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
className
at this location.classname -
the name of the class
className
.