edu.ucsb.nceas.metacat
Class Version

java.lang.Object
  extended byedu.ucsb.nceas.metacat.Version

public class Version
extends java.lang.Object

Author:
jones Version represents the current version information for this Metacat instance.

Constructor Summary
Version()
           
 
Method Summary
static java.lang.String getVersion()
          Get the current version string for this metacat instance.
static java.lang.String getVersionAsXml()
          Get the version number in an XML document.
 
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 java.lang.String getVersion()
Get the current version string for this metacat instance. It is currently stored in the metacat.properties file.

Returns:
a string indicating the version of Metacat running

getVersionAsXml

public static java.lang.String getVersionAsXml()
Get the version number in an XML document.

Returns:
the version wrapped in an XML document


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.