Package oshi.hardware.platform.mac
Class MacGraphicsCard
- java.lang.Object
-
- oshi.hardware.common.AbstractGraphicsCard
-
- oshi.hardware.platform.mac.MacGraphicsCard
-
- All Implemented Interfaces:
GraphicsCard
@Immutable final class MacGraphicsCard extends AbstractGraphicsCard
Graphics card info obtained by system_profiler SPDisplaysDataType.
-
-
Constructor Summary
Constructors Constructor Description MacGraphicsCard(java.lang.String name, java.lang.String deviceId, java.lang.String vendor, java.lang.String versionInfo, long vram)Constructor for MacGraphicsCard
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<GraphicsCard>getGraphicsCards()public method used byAbstractHardwareAbstractionLayerto access the graphics cards.-
Methods inherited from class oshi.hardware.common.AbstractGraphicsCard
getDeviceId, getName, getVendor, getVersionInfo, getVRam, toString
-
-
-
-
Constructor Detail
-
MacGraphicsCard
MacGraphicsCard(java.lang.String name, java.lang.String deviceId, java.lang.String vendor, java.lang.String versionInfo, long vram)Constructor for MacGraphicsCard- Parameters:
name- The namedeviceId- The device IDvendor- The vendorversionInfo- The version infovram- The VRAM
-
-
Method Detail
-
getGraphicsCards
public static java.util.List<GraphicsCard> getGraphicsCards()
public method used byAbstractHardwareAbstractionLayerto access the graphics cards.- Returns:
- List of
MacGraphicsCardobjects.
-
-