Package oshi.software.os
Class OperatingSystem.OSVersionInfo
java.lang.Object
oshi.software.os.OperatingSystem.OSVersionInfo
- Enclosing interface:
- OperatingSystem
A class representing the Operating System version details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the operating system build number.Gets the operating system codename.Gets the operating system version.toString()
-
Constructor Details
-
OSVersionInfo
-
-
Method Details
-
getVersion
Gets the operating system version.- Returns:
- The version, if any. May be
null
.
-
getCodeName
Gets the operating system codename.- Returns:
- The code name, if any. May be
null
.
-
getBuildNumber
Gets the operating system build number.- Returns:
- The build number, if any. May be
null
.
-
toString
-