org.mortbay.start
public class Version extends Object
Constructor Summary | |
---|---|
Version() | |
Version(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(String version_string)
parses version string in the form version[.revision[.subrevision[extension]]]
into this instance. |
String | toString() |
Returns: -1 if this is older version that other, 0 if its same version, 1 if it's newer version than other
Returns: string representation of this version