Package org.openjdk.asmtools.util
Class ProductInfo
- java.lang.Object
-
- org.openjdk.asmtools.util.ProductInfo
-
public class ProductInfo extends java.lang.Object
Class 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.ResourceBundle
bundle
private static java.lang.String
BUNDLE_NAME
static java.lang.String
FULL_VERSION
Full version of the product, including build number and date of creationstatic java.lang.String
VERSION
Version 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.String
fullVersion()
static java.lang.String
getProperty(java.lang.String propName)
Returns the value of the specified propertyprivate static void
init()
Initializes the bundleprivate static java.lang.String
version()
-
-
-
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()
-
-