Package org.apache.xmlcommons
Class Version
- java.lang.Object
-
- org.apache.xmlcommons.Version
-
public class Version extends java.lang.Object
Administrative class to keep track of the version number of xml-commons external sources releases. See xml-commons/java/external/build.xml for filtering on 1.0, etc.
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getProduct()
Get just the product name.static java.lang.String
getVersion()
Get the basic version string for the current xml-commons external sources release.static java.lang.String
getVersionNum()
Get just the version number v.r.static void
main(java.lang.String[] argv)
Print the release version to the command line.
-
-
-
Method Detail
-
getVersion
public static java.lang.String getVersion()
Get the basic version string for the current xml-commons external sources release. Version String formatted like"XmlCommons v.r"
. Futurework: have this read version info from jar manifest.- Returns:
- String denoting our current version
-
getProduct
public static java.lang.String getProduct()
Get just the product name.- Returns:
- String denoting our product name
-
getVersionNum
public static java.lang.String getVersionNum()
Get just the version number v.r.- Returns:
- String denoting our current version number
-
main
public static void main(java.lang.String[] argv)
Print the release version to the command line.- Parameters:
argv
- command line arguments, unused.
-
-