Class MacHardwareAbstractionLayer
java.lang.Object
oshi.hardware.common.AbstractHardwareAbstractionLayer
oshi.hardware.platform.mac.MacHardwareAbstractionLayer
- All Implemented Interfaces:
HardwareAbstractionLayer
- Direct Known Subclasses:
MacHardwareAbstractionLayerJNA
@ThreadSafe
public abstract class MacHardwareAbstractionLayer
extends AbstractHardwareAbstractionLayer
MacHardwareAbstractionLayer class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInstantiates a list ofLogicalVolumeGroupobjects, representing a storage pool or group of devices, partitions, volumes, or other implementation specific means of file storage.Instantiates a list ofPrinterobjects, representing printers.Instantiates a list ofSoundCardobjects, representing the Sound cards.Methods inherited from class AbstractHardwareAbstractionLayer
createComputerSystem, createMemory, createProcessor, createSensors, getComputerSystem, getMemory, getNetworkIFs, getProcessor, getSensorsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HardwareAbstractionLayer
getDiskStores, getDisplays, getGraphicsCards, getNetworkIFs, getPowerSources, getUsbDevices
-
Constructor Details
-
MacHardwareAbstractionLayer
public MacHardwareAbstractionLayer()
-
-
Method Details
-
getLogicalVolumeGroups
Description copied from interface:HardwareAbstractionLayerInstantiates a list ofLogicalVolumeGroupobjects, representing a storage pool or group of devices, partitions, volumes, or other implementation specific means of file storage.If not yet implemented or if logical volume groups do not exist, returns an empty list.
Currently implemented for Linux (LVM2), macOS (Core Storage), and Windows (Storage Spaces).
- Returns:
- A list of
LogicalVolumeGroupobjects or an empty list if none are present.
-
getSoundCards
Description copied from interface:HardwareAbstractionLayerInstantiates a list ofSoundCardobjects, representing the Sound cards.- Returns:
- A list of SoundCard objects or an empty list if none are present.
-
getPrinters
Description copied from interface:HardwareAbstractionLayerInstantiates a list ofPrinterobjects, representing printers.- Returns:
- A list of Printer objects or an empty list if none are present.
-