Class WindowsFirmware
java.lang.Object
oshi.hardware.common.AbstractFirmware
oshi.hardware.common.platform.windows.WindowsFirmware
- All Implemented Interfaces:
Firmware
Firmware data obtained from WMI. Subclasses provide the platform-specific
WmiQueryExecutor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the firmware description.Get the firmware manufacturer.getName()Get the firmware name.Get the firmware release date.Get the firmware version.protected abstract WmiQueryExecutorReturns the WMI query executor for this platform.Methods inherited from class AbstractFirmware
toString
-
Constructor Details
-
WindowsFirmware
protected WindowsFirmware()Default constructor.
-
-
Method Details
-
getWmiQueryExecutor
Returns the WMI query executor for this platform.- Returns:
- a non-null
WmiQueryExecutor
-
getManufacturer
-
getName
-
getDescription
Description copied from interface:FirmwareGet the firmware description.- Specified by:
getDescriptionin interfaceFirmware- Overrides:
getDescriptionin classAbstractFirmware- Returns:
- the description
-
getVersion
-
getReleaseDate
Description copied from interface:FirmwareGet the firmware release date.- Specified by:
getReleaseDatein interfaceFirmware- Overrides:
getReleaseDatein classAbstractFirmware- Returns:
- The release date.
-