org.jmlspecs.racwrap.runner
Class Location
java.lang.Object
org.jmlspecs.racwrap.runner.Location
- public class Location
- extends Object
Location contains all pertinent information to get at a class in the filesystem
(or in a Jar file).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
node
private Node node
jarLocation
private String jarLocation
location
private String location
- location is where the class is located. If the class is in a jar, this
is relative to the jar file. If the class is in the filesystem, this is
an absolute path.
Location
public Location(Node n)
getJarLocation
public String getJarLocation()
- jarLocation is where the jarfile containing the class is located.
- Returns:
- null if the class is not in a Jar file (ie a file in the filesystem)
getLocation
public String getLocation()
- location is where the class is located. If the class is in a jar, this
is relative to the jar file. If the class is in the filesystem, this is
an absolute path.
setJarLocation
public void setJarLocation(String loc)
setLocation
public void setLocation(String loc)
getNode
public Node getNode()
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.