org.af.jhlir.packages
Class RPackage

java.lang.Object
  extended by org.af.jhlir.packages.RPackage

public class RPackage
extends Object

Class to encapsulate name, version number and install path of an R package If location is null, this means that the package is not installed. Two packages are equal if they have the same name and version number and are installed in the same location. Version number have to be numbers separated by a single colon.


Constructor Summary
RPackage(String name, String title, File libpath, String version)
           
 
Method Summary
 String getDescription()
           
 File getLibpath()
           
 String getName()
           
 String getTitle()
           
 String getVersion()
           
 boolean isDefaultPack()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RPackage

public RPackage(String name,
                String title,
                File libpath,
                String version)
Method Detail

getName

public String getName()

getTitle

public String getTitle()

getDescription

public String getDescription()

getLibpath

public File getLibpath()

getVersion

public String getVersion()

isDefaultPack

public boolean isDefaultPack()

toString

public String toString()
Overrides:
toString in class Object