Version information. Remarks: Note that this class is static.
Definition at line 24 of file Version.java.
◆ getBuild()
The build version
Definition at line 49 of file Version.java.
50 {
51 Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
52 Native.getVersion(major, minor, build, revision);
53 return build.value;
54 }
◆ getFullVersion()
static String getFullVersion |
( |
| ) |
|
|
inlinestatic |
A full version string
Definition at line 69 of file Version.java.
70 {
71 return Native.getFullVersion();
72 }
◆ getMajor()
The major version
Definition at line 29 of file Version.java.
30 {
31 Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
32 Native.getVersion(major, minor, build, revision);
33 return major.value;
34 }
◆ getMinor()
The minor version
Definition at line 39 of file Version.java.
40 {
41 Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
42 Native.getVersion(major, minor, build, revision);
43 return minor.value;
44 }
◆ getRevision()
static int getRevision |
( |
| ) |
|
|
inlinestatic |
The revision
Definition at line 59 of file Version.java.
60 {
61 Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
62 Native.getVersion(major, minor, build, revision);
63 return revision.value;
64 }
◆ getString()
static String getString |
( |
| ) |
|
|
inlinestatic |
A string representation of the version information.
Definition at line 77 of file Version.java.
78 {
79 Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr();
80 Native.getVersion(major, minor, build, revision);
81 return Integer.toString(major.value) + "." + Integer.toString(minor.value) + "."
82 + Integer.toString(build.value) + "." + Integer.toString(revision.value);
83 }