|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ecyrd.jspwiki.Release
public class Release
Contains release and version information.
Field Summary | |
---|---|
static String |
APPNAME
This is the default application name. |
static int |
MINORREVISION
|
static int |
REVISION
|
static int |
VERSION
|
static String |
VERSTR
This is the generic version string you should use when printing out the version. |
Constructor Summary | |
---|---|
Release()
|
Method Summary | |
---|---|
static String |
getVersionString()
This method is useful for templates, because hopefully it will not be inlined, and thus any change to version number does not need recompiling the pages. |
static void |
main(String[] argv)
Executing this class directly from command line prints out the current version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String APPNAME
public static final int VERSION
public static final int REVISION
public static final int MINORREVISION
public static final String VERSTR
Constructor Detail |
---|
public Release()
Method Detail |
---|
public static String getVersionString()
public static void main(String[] argv)
Example:
% java com.ecyrd.jspwiki.Release 1.9.26-cvs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |