| java.lang.Object org.tp23.antinstaller.runtime.VersionHelper
VersionHelper | public class VersionHelper (Code) | | Version helper accepts version numbers of the following format.
[major][clause].[minor][clause].[minor][clause].... ad infinitum
If the Java flag is set to true an attempt is made to parse the string as if it were
returned by System.getProperty("java.version");
Since pre 1.3.1 the system is not parsable the default is to accept the string
if there is a format error.
For the non java syntax getting the string wrong will result in failed tests
author: teknopaul |
CLAUSE_JAVA_BETA | final public static String CLAUSE_JAVA_BETA(Code) | | |
equalOrHigher | public boolean equalOrHigher(String test, String version, boolean javaSyntax)(Code) | | Parameters: test - java version string being tested Parameters: version - java version string being used as reference Parameters: javaSyntax - true if the value of test is greater than or equal to the value of version |
majorVersionCompatible | public boolean majorVersionCompatible(String test, String version)(Code) | | |
|
|