public interface Version extends java.lang.Comparable<Version>
The version number consists of the four following segments:
Segments are separated by a dot, for example: "14.2.0.284".
| Modifier and Type | Method and Description |
|---|---|
int |
getBuild()
Returns the value of the 'Build' attribute.
|
int |
getMajor()
Returns the value of the 'Major' attribute.
|
int |
getMinor()
Returns the value of the 'Minor' attribute.
|
int |
getService()
Returns the value of the 'Service' attribute.
|
int getMajor()
This integer represents the major segment of the version.
int getMinor()
This integer represents the minor segment of the version.
int getService()
This integer represents the service pack segment of the version.
int getBuild()
This integer represents the build segment of the version.