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