|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.JScienceVersion
public final class JScienceVersion
The Version class contains information about the current and latest release.
| Field Summary | |
|---|---|
java.lang.String |
home
The URL for the home of this version. |
int |
major
Major version number. |
int |
minor
Minor version number. |
java.lang.String |
platform
Java platform required. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares two versions for equality. |
static JScienceVersion |
getCurrent()
Gets the current version. |
static JScienceVersion |
getLatest()
Retrieves the latest version from the home URL. |
boolean |
isLater(JScienceVersion ver)
Returns true if this is later than another version. |
java.lang.String |
toString()
Returns the version number as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int major
public final int minor
public final java.lang.String platform
public final java.lang.String home
| Method Detail |
|---|
public static JScienceVersion getCurrent()
public static JScienceVersion getLatest()
throws java.io.IOException
java.io.IOException - DOCUMENT ME!public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - DOCUMENT ME!
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isLater(JScienceVersion ver)
ver - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||