Package org.openjdk.asmtools.util
Class ProductInfo
- java.lang.Object
-
- org.openjdk.asmtools.util.ProductInfo
-
public class ProductInfo extends java.lang.ObjectClass providing an access to the product info. productinfo.properties will be generated during the build
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.ResourceBundlebundleprivate static java.lang.StringBUNDLE_NAMEstatic java.lang.StringFULL_VERSIONFull version of the product, including build number and date of creationstatic java.lang.StringVERSIONVersion of the product in the short format, like 5.0
-
Constructor Summary
Constructors Constructor Description ProductInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringfullVersion()static java.lang.StringgetProperty(java.lang.String propName)Returns the value of the specified propertyprivate static voidinit()Initializes the bundleprivate static java.lang.Stringversion()
-
-
-
Field Detail
-
VERSION
public static final java.lang.String VERSION
Version of the product in the short format, like 5.0
-
FULL_VERSION
public static final java.lang.String FULL_VERSION
Full version of the product, including build number and date of creation
-
BUNDLE_NAME
private static final java.lang.String BUNDLE_NAME
- See Also:
- Constant Field Values
-
bundle
private static java.util.ResourceBundle bundle
-
-
Method Detail
-
getProperty
public static java.lang.String getProperty(java.lang.String propName)
Returns the value of the specified property
-
init
private static void init()
Initializes the bundle
-
version
private static java.lang.String version()
-
fullVersion
private static java.lang.String fullVersion()
-
-