Cytoscape 2.8.0 API

cytoscape
Class CytoscapeVersion

java.lang.Object
  extended by cytoscape.CytoscapeVersion

public class CytoscapeVersion
extends Object

CytoscapeVersion: identify (and describe) successive versions of cytoscape.


Field Summary
static String version
           
 
Constructor Summary
CytoscapeVersion()
           
 
Method Summary
 String getBugFixVersion()
          This method gets the bug fix version for Cytsocape.
 String getFullVersion()
           
 String getMajorVersion()
          This method gets the major and minor version for Cytsocape ignoring the bug fix version number.
 String getVersion()
          Returns the string 'Cytoscape Version ' and the version number Do not use to just get a version.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

public static String version
Constructor Detail

CytoscapeVersion

public CytoscapeVersion()
Method Detail

getVersion

public String getVersion()
Returns the string 'Cytoscape Version ' and the version number Do not use to just get a version.

Returns:
DOCUMENT ME!

toString

public String toString()
Overrides:
toString in class Object
Returns:
See getVersion()

getMajorVersion

public String getMajorVersion()
This method gets the major and minor version for Cytsocape ignoring the bug fix version number. Example: If Cytoscape is currently at 2.4.6 this method will return 2.4

Returns:
The major and minor version numbers of the currently running Cytoscape.

getBugFixVersion

public String getBugFixVersion()
This method gets the bug fix version for Cytsocape. Example: If Cytoscape is currently at 2.4.6 this method will return 6 If there is no bug fix version the default is 0

Returns:
Just the bug fix version

getFullVersion

public String getFullVersion()
Returns:
Full version number for currently running Cytoscape. Ex. 2.4.6

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.