@PublicAPI public class VersionInfo extends java.lang.Object
Constructor and Description |
---|
VersionInfo() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getBuildDate()
Returns the build date as string (in local time zone).
|
static java.lang.String |
getBuildTime()
Returns the build time as string (in local time zone).
|
static java.util.Date |
getBuildTimestamp()
Returns the build date and time.
|
protected static java.lang.String |
getBuildTimestampStr()
Returns the build date and time as string in UTC time zone.
|
static java.lang.String |
getDisplayVersion()
Returns the display version.
|
static java.lang.String |
getInternalVersionId()
Returns the internal version identifier.
|
protected static java.lang.String |
getJavaVersionStr()
Returns the Java VM version information as string.
|
static int |
getJChemTableVersion()
Returns the internal version number of JChem database tables.
|
protected static java.lang.String |
getOsVersionStr()
Returns the OS version information as string.
|
static java.lang.String |
getVersion()
Returns the product version.
|
static void |
main(java.lang.String[] args)
Main method that prints out the version information into the standard output.
|
public static java.lang.String getVersion()
public static java.lang.String getDisplayVersion()
public static java.lang.String getInternalVersionId()
public static int getJChemTableVersion()
public static java.util.Date getBuildTimestamp()
Date
.public static java.lang.String getBuildDate()
public static java.lang.String getBuildTime()
protected static java.lang.String getBuildTimestampStr()
protected static java.lang.String getJavaVersionStr()
protected static java.lang.String getOsVersionStr()
public static void main(java.lang.String[] args)
If no argument is given, prints out full version information (version, internal version, build date, etc.).
args
- Command-line arguments: