|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.taglibs.standard.Version
public class Version
[lifted from xalan] Administrative class to keep track of the version number of the standard tag library.
This class implements the upcoming standard of having org.apache.project-name.Version.getVersion() be a standard way to get version information.
Constructor Summary | |
---|---|
Version()
|
Method Summary | |
---|---|
static int |
getDevelopmentVersionNum()
Development Drop Number. |
static int |
getMaintenanceVersionNum()
Maintenance Drop Number. |
static int |
getMajorVersionNum()
Major version number. |
static String |
getProduct()
Name of product |
static int |
getReleaseVersionNum()
Release Number. |
static String |
getVersion()
Get the basic version string for the current release. |
static void |
main(String[] argv)
Print the processor version to the command line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Version()
Method Detail |
---|
public static String getVersion()
"standard-taglib v.r[.dd| Dnn]"
.
Futurework: have this read version info from jar manifest.
public static void main(String[] argv)
argv
- command line arguments, unused.public static String getProduct()
public static int getMajorVersionNum()
Clients should carefully consider the implications of new versions as external interfaces and behaviour may have changed.
public static int getReleaseVersionNum()
public static int getMaintenanceVersionNum()
public static int getDevelopmentVersionNum()
Development drops are works in progress towards a compeleted, final release. A specific development drop may not completely implement all aspects of a new feature, which may take several development drops to complete. At the point of the final drop for the release, the D suffix will be omitted.
Each 'D' drops can contain functional enhancements as well as defect fixes. 'D' drops may not be as stable as the final releases.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |