|
Scala Library
|
|
scala/mobile/Location.scala]
class
Location(url : java.net.URL)
extends AnyRefLocation 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";| 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
className
at this location.classname - the name of the classclassName.|
Scala Library
|
|