public class SystemInfo extends Object implements OshiJsonObject
OperatingSystem (software) and
HardwareAbstractionLayer (hardware).| Constructor and Description |
|---|
SystemInfo() |
| Modifier and Type | Method and Description |
|---|---|
HardwareAbstractionLayer |
getHardware()
Creates a new instance of the appropriate platform-specific
HardwareAbstractionLayer. |
OperatingSystem |
getOperatingSystem()
Creates a new instance of the appropriate platform-specific
OperatingSystem. |
javax.json.JsonObject |
toJSON()
Creates a compact JSON string containing the information for this class
|
public OperatingSystem getOperatingSystem()
OperatingSystem.OperatingSystem.public HardwareAbstractionLayer getHardware()
HardwareAbstractionLayer.HardwareAbstractionLayer.public javax.json.JsonObject toJSON()
OshiJsonObjecttoJSON in interface OshiJsonObjectCopyright © 2010–2016 com.github.dblock. All rights reserved.