com.ibm.ims.base
Class IMSJavaVersionInfo

java.lang.Object
  |
  +--com.ibm.ims.base.IMSJavaVersionInfo

public class IMSJavaVersionInfo
extends java.lang.Object

IMSJavaVersionInfo stores Version Information about the release, code level, and date and time the Driver was built. These values are substitued in either by CMVC or during the automated build process.


Constructor Summary
IMSJavaVersionInfo()
           
 
Method Summary
static java.lang.String getDriverBuildDate()
          Returns the date the driver was built.
static java.lang.String getDriverExtractDate()
          Returns the date the code was extracted from version control.
static java.lang.String getDriverLevel()
          Returns the level that the driver was built from.
static int getDriverMajorVersion()
          What's this JDBC driver's major version number?
static int getDriverMinorVersion()
          What's this JDBC driver's minor version number? Minor Versioning: is (year)(percent through year)
static java.lang.String getDriverName()
          What's the name of this JDBC driver?
static java.lang.String getDriverRelease()
          Returns the release that the driver was built from.
static java.lang.String getDriverVersion()
          What's the version of this JDBC driver?
static void logVersion(IMSTrace currentTrace)
          Logs IMSJava Driver Version Information to the trace output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMSJavaVersionInfo

public IMSJavaVersionInfo()
Method Detail

getDriverRelease

public static java.lang.String getDriverRelease()
Returns the release that the driver was built from.

getDriverLevel

public static java.lang.String getDriverLevel()
Returns the level that the driver was built from.

getDriverBuildDate

public static java.lang.String getDriverBuildDate()
Returns the date the driver was built.

getDriverExtractDate

public static java.lang.String getDriverExtractDate()
Returns the date the code was extracted from version control.

getDriverName

public static java.lang.String getDriverName()
What's the name of this JDBC driver?
Returns:
JDBC driver name

getDriverVersion

public static java.lang.String getDriverVersion()
What's the version of this JDBC driver?
Returns:
JDBC driver version

getDriverMajorVersion

public static int getDriverMajorVersion()
What's this JDBC driver's major version number?
Returns:
JDBC driver major version

getDriverMinorVersion

public static int getDriverMinorVersion()
What's this JDBC driver's minor version number? Minor Versioning: is (year)(percent through year)
Returns:
JDBC driver minor version number; 0 if version info is not available. Note: This is not Y10K complient.

logVersion

public static void logVersion(IMSTrace currentTrace)
Logs IMSJava Driver Version Information to the trace output. This function is called automatically when the first trace object is instanciated from IMSTrace.


(C) International Business Machines Corporation 2004. All rights reserved.