Class WindowsHardwareAbstractionLayerFFM
java.lang.Object
oshi.hardware.common.AbstractHardwareAbstractionLayer
oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer
oshi.hardware.platform.windows.WindowsHardwareAbstractionLayerFFM
- All Implemented Interfaces:
HardwareAbstractionLayer
@ThreadSafe
public final class WindowsHardwareAbstractionLayerFFM
extends WindowsHardwareAbstractionLayer
FFM-based hardware abstraction layer for Windows. Extends
WindowsHardwareAbstractionLayer, overriding methods
as FFM implementations become available.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInstantiates a list ofPowerSourceobjects, representing batteries, etc.Methods inherited from class WindowsHardwareAbstractionLayer
createComputerSystem, createMemory, createProcessor, createSensors, getDiskStores, getDisplays, getGraphicsCards, getLogicalVolumeGroups, getNetworkIFs, getPrinters, getSoundCards, getUsbDevicesMethods inherited from class AbstractHardwareAbstractionLayer
getComputerSystem, getMemory, getNetworkIFs, getProcessor, getSensors
-
Constructor Details
-
WindowsHardwareAbstractionLayerFFM
public WindowsHardwareAbstractionLayerFFM()
-
-
Method Details
-
getPowerSources
Description copied from interface:HardwareAbstractionLayerInstantiates a list ofPowerSourceobjects, representing batteries, etc.- Specified by:
getPowerSourcesin interfaceHardwareAbstractionLayer- Overrides:
getPowerSourcesin classWindowsHardwareAbstractionLayer- Returns:
- A list of PowerSource objects or an empty list if none are present.
-