|
Scala 2.4.0-RC1
|
class
Location
extends
java.lang.Object
with
scala.ScalaObject
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";
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 Detail |
def
create
(className: java.lang.String): scala.mobile.Code
className
at this location.classname -
the name of the class
className
.