|
Scala
1.3.0.4 |
|||
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";
| 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, notify, notifyAll, synchronized, toString, wait, wait, wait |
| Methods inherited from scala/Any-class |
| !=, ==, asInstanceOf, isInstanceOf, match |
| Method Detail |
def create(className: String): Code
className
at this location.
the -
name of the class
className
|
Scala
1.3.0.4 |
|||