Package com.bea.wcp.diameter.util
Class Version
java.lang.Object
com.bea.wcp.diameter.util.Version
Reads WebLogic product release information from the manifest.
- Author:
- Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMajor()intgetMinor()intReturns the product name.Returns the product release number string.intReturns product release number of of the form 0xAABBCCDD, where 'AA' is the major, 'BB' is the minor, 'CC' is the service pack number, and 'DD' is the patch number.intReturns the vendor name.static Version[]getVersions(ClassLoader loader) toString()
-
Constructor Details
-
Version
Reads version information from the specified Manifest.- Parameters:
man- the Manifest whose version information is to be read- Throws:
IllegalArgumentException- if the manifest contained invalid version information
-
Version
-
-
Method Details
-
getVersions
-
getProduct
Returns the product name. -
getRelease
Returns the product release number string. The product release number string is in the form major.minor[.service_pack[.patch]]. -
getVendor
Returns the vendor name. -
getReleaseNumber
public int getReleaseNumber()Returns product release number of of the form 0xAABBCCDD, where 'AA' is the major, 'BB' is the minor, 'CC' is the service pack number, and 'DD' is the patch number. Returns 0 if release number unavailable. -
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getServicePack
public int getServicePack() -
getPatchLevel
public int getPatchLevel() -
toString
-