Package oshi.hardware.platform.linux
Class LinuxGraphicsCard
java.lang.Object
oshi.hardware.common.AbstractGraphicsCard
oshi.hardware.platform.linux.LinuxGraphicsCard
- All Implemented Interfaces:
GraphicsCard
Graphics card info obtained by lshw
-
Constructor Summary
ConstructorsConstructorDescriptionLinuxGraphicsCard
(String name, String deviceId, String vendor, String versionInfo, long vram) Constructor for LinuxGraphicsCard -
Method Summary
Modifier and TypeMethodDescriptionstatic List
<GraphicsCard> public method used byAbstractHardwareAbstractionLayer
to access the graphics cards.private static List
<GraphicsCard> private static List
<GraphicsCard> private static long
queryLspciMemorySize
(String lookupDevice) Methods inherited from class oshi.hardware.common.AbstractGraphicsCard
getDeviceId, getName, getVendor, getVersionInfo, getVRam, toString
-
Constructor Details
-
LinuxGraphicsCard
Constructor for LinuxGraphicsCard- 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
LinuxGraphicsCard
objects.
-
getGraphicsCardsFromLspci
-
queryLspciMemorySize
-
getGraphicsCardsFromLshw
-