Class Version

java.lang.Object
com.bea.wcp.diameter.util.Version

public class Version extends Object
Reads WebLogic product release information from the manifest.
Author:
Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
  • Constructor Details

    • Version

      public Version(Manifest man)
      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

      public Version(String product, String release, String vendor)
  • Method Details

    • getVersions

      public static Version[] getVersions(ClassLoader loader)
    • getProduct

      public String getProduct()
      Returns the product name.
    • getRelease

      public String getRelease()
      Returns the product release number string. The product release number string is in the form major.minor[.service_pack[.patch]].
    • getVendor

      public String 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

      public String toString()
      Overrides:
      toString in class Object