org.directwebremoting.util
Class VersionUtil

java.lang.Object
  extended by org.directwebremoting.util.VersionUtil

public class VersionUtil
extends java.lang.Object

Interface to the system version info file. DWR version numbers are of the form "Version 1.2.3.3128[.beta]", where:

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
VersionUtil()
           
 
Method Summary
static int getBuild()
           
static java.lang.String getLabel()
           
static int getMajor()
           
static int getMinor()
           
static int getRevision()
           
static java.lang.String getTitle()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionUtil

public VersionUtil()
Method Detail

getMajor

public static int getMajor()
Returns:
The major version number of this release

getMinor

public static int getMinor()
Returns:
The minor version number of this release

getRevision

public static int getRevision()
Returns:
The revision version number of this release

getBuild

public static int getBuild()
Returns:
The build number of this release

getTitle

public static java.lang.String getTitle()
Returns:
The optional title of this release

getLabel

public static java.lang.String getLabel()
Returns:
The full version string

Copyright 2008