Class SystemInfo
java.lang.Object
oshi.ffm.SystemInfo
- Direct Known Subclasses:
SystemInfoFFM
System information. This is the main FFM entry point to OSHI.
This object provides getters which instantiate the appropriate platform-specific FFM implementations of
OperatingSystem (software) and HardwareAbstractionLayer (hardware),
falling back to JNA implementations where FFM equivalents are not yet available.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance of the appropriate platform-specificHardwareAbstractionLayer.Creates a new instance of the appropriate platform-specificOperatingSystem.
-
Constructor Details
-
SystemInfo
public SystemInfo()Create a new instance ofSystemInfo.
-
-
Method Details
-
getOperatingSystem
Creates a new instance of the appropriate platform-specificOperatingSystem.- Returns:
- A new platform-specific instance implementing
OperatingSystem.
-
getHardware
Creates a new instance of the appropriate platform-specificHardwareAbstractionLayer.- Returns:
- A new platform-specific instance implementing
HardwareAbstractionLayer.
-