public class Version extends Object
| Constructor and Description | 
|---|
Version(Manifest man)
Reads version information from the specified Manifest. 
 | 
Version(String product,
       String release,
       String vendor)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getMajor()  | 
int | 
getMinor()  | 
int | 
getPatchLevel()  | 
String | 
getProduct()
Returns the product name. 
 | 
String | 
getRelease()
Returns the product release number string. 
 | 
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. 
 | 
int | 
getServicePack()  | 
String | 
getVendor()
Returns the vendor name. 
 | 
static Version[] | 
getVersions(ClassLoader loader)  | 
String | 
toString()  | 
public Version(Manifest man)
man - the Manifest whose version information is to be readIllegalArgumentException - if the manifest contained invalid version informationpublic static Version[] getVersions(ClassLoader loader)
public String getProduct()
public String getRelease()
public String getVendor()
public int getReleaseNumber()
public int getMajor()
public int getMinor()
public int getServicePack()
public int getPatchLevel()