com.plumtree.uiinfrastructure.statichelpers
Class VersionHelper

java.lang.Object
  extended by com.plumtree.uiinfrastructure.statichelpers.VersionHelper

public class VersionHelper
extends java.lang.Object

Author:
NaveenP Loads the version.xml and gives us a String to print with the version info.

Field Summary
static java.lang.String CHANGELIST
           
static java.lang.String DATE
           
protected  java.lang.String m_strConfigFilePath
          The path to the folder in which x_config.xml resides.
static java.lang.String MAJOR
           
static java.lang.String MINOR
           
static java.lang.String RELEASE
           
static java.lang.String SERVICEPACK
           
static java.lang.String TIME
           
 
Constructor Summary
VersionHelper(java.lang.String _strConfigFilePath)
           
 
Method Summary
static java.lang.String GetChangelistVersion()
           
static java.lang.String GetMajorVersion()
           
static java.lang.String GetMinorVersion()
           
static java.lang.String GetServicePackVersion()
           
static java.lang.String GetVersionMessage()
          Get the version message to be printed at the bottom of each page.
 void LoadVersionXML()
          Loads the version.xml and calls private function to get the info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RELEASE

public static final java.lang.String RELEASE
See Also:
Constant Field Values

MAJOR

public static final java.lang.String MAJOR
See Also:
Constant Field Values

MINOR

public static final java.lang.String MINOR
See Also:
Constant Field Values

SERVICEPACK

public static final java.lang.String SERVICEPACK
See Also:
Constant Field Values

CHANGELIST

public static final java.lang.String CHANGELIST
See Also:
Constant Field Values

DATE

public static final java.lang.String DATE
See Also:
Constant Field Values

TIME

public static final java.lang.String TIME
See Also:
Constant Field Values

m_strConfigFilePath

protected java.lang.String m_strConfigFilePath
The path to the folder in which x_config.xml resides.

Constructor Detail

VersionHelper

public VersionHelper(java.lang.String _strConfigFilePath)
Method Detail

LoadVersionXML

public void LoadVersionXML()
Loads the version.xml and calls private function to get the info.


GetVersionMessage

public static java.lang.String GetVersionMessage()
Get the version message to be printed at the bottom of each page.

Returns:
String

GetMajorVersion

public static java.lang.String GetMajorVersion()

GetMinorVersion

public static java.lang.String GetMinorVersion()

GetServicePackVersion

public static java.lang.String GetServicePackVersion()

GetChangelistVersion

public static java.lang.String GetChangelistVersion()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.