public class SystemInfo extends Object implements Serializable
OperatingSystem
(software) and
HardwareAbstractionLayer
(hardware).Constructor and Description |
---|
SystemInfo() |
Modifier and Type | Method and Description |
---|---|
static PlatformEnum |
getCurrentPlatformEnum() |
HardwareAbstractionLayer |
getHardware()
Creates a new instance of the appropriate platform-specific
HardwareAbstractionLayer . |
OperatingSystem |
getOperatingSystem()
Creates a new instance of the appropriate platform-specific
OperatingSystem . |
public static PlatformEnum getCurrentPlatformEnum()
public OperatingSystem getOperatingSystem()
OperatingSystem
.OperatingSystem
.public HardwareAbstractionLayer getHardware()
HardwareAbstractionLayer
.HardwareAbstractionLayer
.Copyright © 2010–2017 oshi. All rights reserved.