spread
Class  SpreadVersion
java.lang.Object
  |
  +--spread.SpreadVersion
- public class SpreadVersion
- extends java.lang.Object
  
A SpreadVersion object is used to get the version of spread that is being used.
 
| 
Method Summary | 
 int | 
getMajorVersion()
 
          Returns the spread major version as an int. | 
 int | 
getMinorVersion()
 
          Returns the spread minor version as an int. | 
 float | 
getVersion()
 
          Returns the spread version as a float. | 
 java.lang.String | 
toString()
 
          Returns the spread version in string form. | 
 
| Methods inherited from class java.lang.Object | 
equals, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
 
SpreadVersion
public SpreadVersion()
getVersion
public float getVersion()
- Returns the spread version as a float.  The float is of
 the form A.B where A is the major version and B is the minor version.
- Returns:
 - the spread version
 
 
 
getMajorVersion
public int getMajorVersion()
- Returns the spread major version as an int.
- Returns:
 - the spread major version
 
 
 
getMinorVersion
public int getMinorVersion()
- Returns the spread minor version as an int.
- Returns:
 - the spread minor version
 
 
 
toString
public java.lang.String toString()
- Returns the spread version in string form.  The string is of
 the form A.BB where A is the major version and BB is the minor version.
- Overrides:
 - toString in class java.lang.Object