| java.lang.Object org.mortbay.start.Version
Version | public class Version (Code) | | Utility class for parsing and comparing version strings.
JDK 1.1 compatible.
author: Jan Hlavatý |
_subrevision | int _subrevision(Code) | | |
compare | public int compare(Version other)(Code) | | Compares with other version. Does not take extension into account,
as there is no reliable way to order them.
-1 if this is older version that other,0 if its same version,1 if it's newer version than other |
isInRange | public boolean isInRange(Version low, Version high)(Code) | | Check whether this verion is in range of versions specified
|
parse | public void parse(String version_string)(Code) | | parses version string in the form version[.revision[.subrevision[extension]]]
into this instance.
|
toString | public String toString()(Code) | | string representation of this version |
|
|