| java.lang.Object org.jamwiki.WikiVersion
WikiVersion | public class WikiVersion (Code) | | Utility class that holds the current Wiki version constant and provides
methods for comparing Wiki versions.
|
Constructor Summary | |
public | WikiVersion(String version) Constructor to create a new Wiki version object using a version string of
the form "0.3.5". |
Method Summary | |
public boolean | before(WikiVersion version) Utility method for comparing the current Wiki version with another
version.
Parameters: version - A Wiki version to compare against. | public boolean | before(int major, int minor, int patch) Utility method for comparing the current Wiki version with another
version.
Parameters: major - The major version number to compare against. Parameters: minor - The minor version number to compare against. Parameters: patch - The patch level to compare against. |
CURRENT_WIKI_VERSION | final public static String CURRENT_WIKI_VERSION(Code) | | Current software version. If this differs from the version in the properties an upgrade is performed.
|
WikiVersion | public WikiVersion(String version) throws Exception(Code) | | Constructor to create a new Wiki version object using a version string of
the form "0.3.5".
Parameters: version - A version string of the form "0.3.5". |
before | public boolean before(WikiVersion version)(Code) | | Utility method for comparing the current Wiki version with another
version.
Parameters: version - A Wiki version to compare against. Returns true if the current version is older thanthe version being compared against. |
before | public boolean before(int major, int minor, int patch)(Code) | | Utility method for comparing the current Wiki version with another
version.
Parameters: major - The major version number to compare against. Parameters: minor - The minor version number to compare against. Parameters: patch - The patch level to compare against. Returns true if the current version is older thanthe version being compared against. |
|
|