Package oshi.hardware.platform.windows
Class WindowsGraphicsCard
java.lang.Object
oshi.hardware.common.AbstractGraphicsCard
oshi.hardware.platform.windows.WindowsGraphicsCard
- All Implemented Interfaces:
GraphicsCard
Graphics Card obtained from WMI
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWindowsGraphicsCard
(String name, String deviceId, String vendor, String versionInfo, long vram) Constructor for WindowsGraphicsCard -
Method Summary
Modifier and TypeMethodDescriptionstatic List
<GraphicsCard> public method used byAbstractHardwareAbstractionLayer
to access the graphics cards.private static List
<GraphicsCard> Methods inherited from class oshi.hardware.common.AbstractGraphicsCard
getDeviceId, getName, getVendor, getVersionInfo, getVRam, toString
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
IS_VISTA_OR_GREATER
private static final boolean IS_VISTA_OR_GREATER -
ADAPTER_STRING
- See Also:
-
DRIVER_DESC
- See Also:
-
DRIVER_VERSION
- See Also:
-
VENDOR
- See Also:
-
QW_MEMORY_SIZE
- See Also:
-
MEMORY_SIZE
- See Also:
-
DISPLAY_DEVICES_REGISTRY_PATH
- See Also:
-
-
Constructor Details
-
WindowsGraphicsCard
Constructor for WindowsGraphicsCard- Parameters:
name
- The namedeviceId
- The device IDvendor
- The vendorversionInfo
- The version infovram
- The VRAM
-
-
Method Details
-
getGraphicsCards
public method used byAbstractHardwareAbstractionLayer
to access the graphics cards.- Returns:
- List of
WindowsGraphicsCard
objects.
-
getGraphicsCardsFromWmi
-