JBoss Common Classes 2.2.17.GA

org.jboss.util.xml.catalog
Class Version

java.lang.Object
  extended by org.jboss.util.xml.catalog.Version

public class Version
extends Object

Administrative class to keep track of the version number of xml-commons external sources releases. See xml-commons/java/resolver.xml for filtering on 1.0, etc.


Constructor Summary
Version()
           
 
Method Summary
static String getProduct()
          Get just the product name.
static String getVersion()
          Get the version string for xml-commons-resolver.
static String getVersionNum()
          Get just the version number v.r.
static void main(String[] argv)
          Print the release 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

Version

public Version()
Method Detail

getVersion

public static String getVersion()
Get the version string for xml-commons-resolver. Version String formatted like: "XmlResolver v.r".

Returns:
String denoting our current version

getProduct

public static String getProduct()
Get just the product name.

Returns:
String denoting our product name

getVersionNum

public static String getVersionNum()
Get just the version number v.r.

Returns:
String denoting our current version number

main

public static void main(String[] argv)
Print the release version to the command line.

Parameters:
argv - command line arguments, unused.

JBoss Common Classes 2.2.17.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.