BuildVersionInfo
Inheritance: java.lang.Object
public class BuildVersionInfo
Provides information about the current product name and version.
To learn more, visit the Generator or Producer Name Included in Output Documents documentation article.
Examples:
Shows how to display information about your installed version of Aspose.Words.
 System.out.println(MessageFormat.format("I am currently using {0}, version number {1}!", BuildVersionInfo.getProduct(), BuildVersionInfo.getVersion()));
 
Methods
| Method | Description | 
|---|---|
| getProduct() | Gets the full name of the product. | 
| getVersion() | Gets the product version. | 
getProduct()
public static String getProduct()
Gets the full name of the product.
Examples:
Shows how to display information about your installed version of Aspose.Words.
 System.out.println(MessageFormat.format("I am currently using {0}, version number {1}!", BuildVersionInfo.getProduct(), BuildVersionInfo.getVersion()));
 
Returns: java.lang.String - The full name of the product.
getVersion()
public static String getVersion()
Gets the product version.
Remarks:
The product version is in the “Major.Minor.Hotfix.0” format.
Examples:
Shows how to display information about your installed version of Aspose.Words.
 System.out.println(MessageFormat.format("I am currently using {0}, version number {1}!", BuildVersionInfo.getProduct(), BuildVersionInfo.getVersion()));
 
Returns: java.lang.String - The product version.