|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.plt.reflect.JavaVersion.FullVersion
public static class JavaVersion.FullVersion
A full Java version, implemented for the sake of comparison between version numbers.
| Method Summary | |
|---|---|
int |
compareTo(JavaVersion.FullVersion v)
Compare two versions. |
boolean |
equals(Object o)
|
int |
hashCode()
|
File |
location()
|
int |
maintenance()
Get the maintenance associated with this full version |
JavaVersion |
majorVersion()
Get the major version associated with this full version |
JavaVersion.FullVersion |
onlyMajorVersionAndVendor()
Get a full version with the maintenance, update and release type zeroed out. |
edu.rice.cs.plt.reflect.JavaVersion.ReleaseType |
release()
Get the update associated with this full version |
boolean |
supports(JavaVersion v)
Convenience method calling majorVersion().supports(v) |
String |
toString()
|
int |
update()
Get the update associated with this full version |
JavaVersion.VendorType |
vendor()
Get the vendor associated with this full version |
String |
versionString()
Produce a string representing version number |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public JavaVersion majorVersion()
public JavaVersion.FullVersion onlyMajorVersionAndVendor()
public int maintenance()
public int update()
public edu.rice.cs.plt.reflect.JavaVersion.ReleaseType release()
public JavaVersion.VendorType vendor()
public File location()
public boolean supports(JavaVersion v)
majorVersion().supports(v)
public int compareTo(JavaVersion.FullVersion v)
compareTo in interface Comparable<JavaVersion.FullVersion>public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String versionString()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||