Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


oracle.dss.util
Class VersionInfo

java.lang.Object
  extended by oracle.dss.util.VersionInfo


public class VersionInfo
extends java.lang.Object

VersionInfo Support for runtime version information.
The class provides a number of method to get version information for the oracle.dss.* packages based on a provided class or package. The following information can be obtained for a package:


Field Summary
static java.lang.String BUILD_MODE
           
static java.lang.String BUILD_VERSION
           
static java.lang.String COMPONENT_NUMBER
           
static java.lang.String PACKAGE_NAME
           
static java.lang.String RELEASE_DESCRIPTION
           
static java.lang.String SOURCE_URL
           

 

Constructor Summary
VersionInfo()
           

 

Method Summary
static java.util.Properties getProperties(java.lang.Class versionClass)
          Provide all the package version information of a class
static java.util.Properties getProperties(java.lang.Object versionObject)
          Provide all the package version information of an object
static java.util.Properties getProperties(java.lang.String versionPackage)
          Provide all the package version information of a class or package represented by a String
static java.lang.String getProperty(java.lang.Class versionClass, java.lang.String key)
          Provide a particular version information value for a class
static java.lang.String getProperty(java.lang.Object versionObject, java.lang.String key)
          Provide a particular version information value for an object
static java.lang.String getProperty(java.lang.String versionPackage, java.lang.String key)
          Provide a particular version information value of a class or package represented by a String

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

BUILD_VERSION

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

COMPONENT_NUMBER

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

RELEASE_DESCRIPTION

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

BUILD_MODE

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

PACKAGE_NAME

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

SOURCE_URL

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

Constructor Detail

VersionInfo

public VersionInfo()

Method Detail

getProperties

public static java.util.Properties getProperties(java.lang.Class versionClass)
Provide all the package version information of a class
Parameters:
versionClass - the class to get the version information for
Returns:
the version information as properties

getProperties

public static java.util.Properties getProperties(java.lang.Object versionObject)
Provide all the package version information of an object
Parameters:
versionObject - the object to get the version information for
Returns:
the version information as properties

getProperties

public static java.util.Properties getProperties(java.lang.String versionPackage)
Provide all the package version information of a class or package represented by a String
Parameters:
versionPackage - the package to get the version information for
Returns:
the version information as properties

getProperty

public static java.lang.String getProperty(java.lang.Class versionClass,
                                           java.lang.String key)
Provide a particular version information value for a class
Parameters:
versionClass - the class to get the version information for
key - the key for the requested value
Returns:
the version information value as a String

getProperty

public static java.lang.String getProperty(java.lang.Object versionObject,
                                           java.lang.String key)
Provide a particular version information value for an object
Parameters:
versionObject - the object to get the version information for
key - the key for the requested value
Returns:
the version information value as a String

getProperty

public static java.lang.String getProperty(java.lang.String versionPackage,
                                           java.lang.String key)
Provide a particular version information value of a class or package represented by a String
Parameters:
versionPackage - the package to get the version information for
key - the key for the requested value
Returns:
the version information value as a String

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.2.0)

E17492-03


Copyright © 1997, 2012, Oracle. All rights reserved.