|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mortbay.start.Version
Utility class for parsing and comparing version strings. JDK 1.1 compatible.
Constructor Summary | |
Version()
|
|
Version(java.lang.String version_string)
|
Method Summary | |
int |
compare(Version other)
Compares with other version. |
boolean |
isInRange(Version low,
Version high)
Check whether this verion is in range of versions specified |
void |
parse(java.lang.String version_string)
parses version string in the form version[.revision[.subrevision[extension]]] into this instance. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Version()
public Version(java.lang.String version_string)
Method Detail |
public void parse(java.lang.String version_string)
public java.lang.String toString()
toString
in class java.lang.Object
public int compare(Version other)
public boolean isInRange(Version low, Version high)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |