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 byAbstractHardwareAbstractionLayerto access the graphics cards.private static List<GraphicsCard> private static List<GraphicsCard> private static longqueryLspciMemorySize(String lookupDevice) Methods inherited from class AbstractGraphicsCard
getDeviceId, getName, getVendor, getVersionInfo, getVRam, toString
-
Constructor Details
-
LinuxGraphicsCard
-
-
Method Details
-
getGraphicsCards
public method used byAbstractHardwareAbstractionLayerto access the graphics cards.- Returns:
- List of
LinuxGraphicsCardobjects.
-
getGraphicsCardsFromLspci
-
queryLspciMemorySize
-
getGraphicsCardsFromLshw
-