public final class Version extends Object
This class implements the upcoming standard of having org.apache.project-name.Version.getVersion() be a standard way to get version information.
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
static int |
getDevelopmentVersionNum()
Development Drop Number.
|
static String |
getImplementationLanguage()
Implementation Language: Java.
|
static int |
getMaintenanceVersionNum()
Maintenance Drop Number.
|
static int |
getMajorVersionNum()
Major version number.
|
static String |
getProduct()
Name of product: Serializer.
|
static int |
getReleaseVersionNum()
Release Number.
|
static String |
getVersion()
Get the basic version string for the current Serializer.
|
static void |
main(String[] argv)
Print the processor version to the command line.
|
public static String getVersion()
"Serializer Java v.r[.dd| Dnn]"
.
Futurework: have this read version info from jar manifest.public static void main(String[] argv)
argv
- command line arguments, unused.public static String getProduct()
public static String getImplementationLanguage()
public static int getMajorVersionNum()
public static int getReleaseVersionNum()
public static int getMaintenanceVersionNum()
public static int getDevelopmentVersionNum()
Copyright © 2017 JBoss by Red Hat. All rights reserved.