Z3
Static Public Member Functions
Version Class Reference

Static Public Member Functions

static int getMajor ()
 
static int getMinor ()
 
static int getBuild ()
 
static int getRevision ()
 
static String getString ()
 

Detailed Description

Version information.

Note that this class is static.

Definition at line 23 of file Version.java.

Member Function Documentation

static int getBuild ( )
inlinestatic

The build version

Definition at line 48 of file Version.java.

49  {
50  Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
51  Native.getVersion(major, minor, build, revision);
52  return build.value;
53  }
static int getMajor ( )
inlinestatic

The major version

Definition at line 28 of file Version.java.

29  {
30  Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
31  Native.getVersion(major, minor, build, revision);
32  return major.value;
33  }
static int getMinor ( )
inlinestatic

The minor version

Definition at line 38 of file Version.java.

39  {
40  Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
41  Native.getVersion(major, minor, build, revision);
42  return minor.value;
43  }
static int getRevision ( )
inlinestatic

The revision

Definition at line 58 of file Version.java.

59  {
60  Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
61  Native.getVersion(major, minor, build, revision);
62  return revision.value;
63  }
static String getString ( )
inlinestatic

A string representation of the version information.

Definition at line 68 of file Version.java.

69  {
70  Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
71  Native.getVersion(major, minor, build, revision);
72  return Integer.toString(major.value) + "." + Integer.toString(minor.value) + "."
73  + Integer.toString(build.value) + "." + Integer.toString(revision.value);
74  }